Giter Site home page Giter Site logo

spa-example's Introduction

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, 即可实现前端组件的重组

spa-example's People

Contributors

leeluolee avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.