Comments (5)
不好意思 没看懂问题
from beauty.
我通过 npm build 生成的dist,我知道在dist文件里面执行npm start就可以看到效果,但是我想单独把dist文件拿出来,怎么启动它
from beauty.
应该是说服务端的部署吧
from beauty.
嗯,不知道怎么弄了
from beauty.
先编译代码npm run build
,然后使用pm2管理node进程 pm2 start server.js -i 4
,pm2介绍,最后使用nignx进行反向代理?还没有做过,目测应该是大概这个步骤。再详细的,就靠你去摸索了。搞完,可以分享一下。持续集成的话,有两个点可以get一下,docker和jenkins
from beauty.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beauty.