【文件属性】:
文件名称:全栈变更
文件大小:155KB
文件格式:ZIP
更新时间:2021-02-22 06:57:19
JavaScript
介绍
这个项目是从[simple-react-full-stack] 初始化的
开发模式
在开发模式下,我们将运行2台服务器。 前端代码将由提供服务,该可帮助进行实时热加载。 服务器端Express代码将由使用的节点服务器提供服务,只要服务器端代码发生更改,该节点有助于自动重新启动服务器。
生产方式
在生产模式下,我们将仅运行1台服务器。 所有客户端代码都将使用webpack捆绑到静态文件中,并由Node.js / Express应用程序提供。
快速开始
# Clone the repository
git clone git@github.com:philipsong/full-stack-change.git
# Go inside the directory
cd full-stack-change
# Install dependencies
yarn (or npm instal
【文件预览】:
full-stack-change-master
----.eslintrc.json(222B)
----jest()
--------setupEnzyme.js(146B)
----public()
--------index.html(289B)
--------favicon.ico(1KB)
----webpack.config.js(1KB)
----src()
--------client()
--------server()
----.babelrc(140B)
----.travis.yml(102B)
----jest.config.js(544B)
----README.md(1KB)
----nodemon.json(31B)
----.gitignore(50B)
----package-lock.json(612KB)
----package.json(2KB)