【文件属性】:
文件名称:reactapp:适用于React和CommonJS的入门应用程序
文件大小:111KB
文件格式:ZIP
更新时间:2021-05-04 17:33:28
JavaScript
简单的单页应用程序结构。
立即即时打包/编译文件。
只适用于Mac / Linux / Windows。
一键式服务器渲染。
###安装
您只需要开始git / node / npm就可以了。
git clone https://github.com/jordwalke/reactapp
cd reactapp
npm install # install dependencies.
快速运行和构建
只需点击浏览器的刷新按钮即可运行应用程序的始终最新版本。
node lib/server/serverMain.js
open http://localhost:8080 # App rendered on the client.
open http://localhost:8080/index.server.h
【文件预览】:
reactapp-master
----.gitignore(37B)
----package.json(713B)
----build()
--------build.js(317KB)
----LICENSE(11KB)
----README.md(3KB)
----lib()
--------client()
--------app()
--------server()
----offlineBuild.sh(80B)
----static_resources()
--------ReactAppLogo.png(31KB)
--------index.html(657B)