luckybird
V2EX  ›  React

入门 Reactjs 的单页应用

  •  
  •   luckybird · Apr 23, 2017 · 3471 views
    This topic created in 3312 days ago, the information mentioned may be changed or developed.

    reactjs-cnodejs

    本项目是基于 Cnodejs 的 api ,采用 ReactJS 前端框架,借助 webpack 开发的单页面 web 应用,在线 Demo

    功能简介

    1.全站 UI 基于 material-ui

    2.开发模式支持热加载,以及 ES6 语法编程

    3.采用 react-router 作为单页面的路由

    4.借助 Redux 保存应用状态和网站数据

    引用类库

    material-ui

    react-hot-loader

    react-router

    redux

    安装方法

    # install dependencies
    npm install
    
    # serve with hot reload at localhost:8080
    npm run dev
    
    # build for production with minification
    npm run build
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4807 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    ♥ Do have faith in what you're doing.