Skip to content

A comprehensive Example for creating Single page application with regular-state

Notifications You must be signed in to change notification settings

regularjs/spa-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regular多级单页应用服务端渲染范例

A comprehensive Example for creating Single page application with regular-state 。

目录介绍

├── app   // 源码目录
│   ├── client   // 客户端模块
│   ├── server   // 服务端模块
│   └── shared   // 公用模块
├── public       // 静态资源发布目录
├── scripts      // 脚本, 部署、发布、gulp-task等
├── gulpfile.js  // gulp任务脚本
├── package.json // 略...
├── README.md    
└── webpack.config.js  // gulp 和 webpack并不冲突

启动

git clone https://github.com/regularjs/spa-example

npm install # 安装缓慢请使用cnpm
npm run build
npm start

打开你的浏览器访问 http://localhost:8009 . 账号密码随意,假的

例子包含

固执不使用virtual dom, 既然原有技术可以解决我们的问题, 没有 track-id, 即可实现前端组件的重组

About

A comprehensive Example for creating Single page application with regular-state

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published