Comments (1)
服务端执行的文件不会打包的。npm run build
只打包前端代码。如果你在服务器里要同时运行前后端就全部代码拷贝过去。如果只想运行后端以下文件是必须的:
package.json
app.js
server-entry.js
node_modules/
config/
server/
from vue-scscms.
Related Issues (12)
- 建议sql语句加入测试用户,在数据库增加了还得转换加密方式才行 HOT 3
- 为什么rundev之后页面是空白的? HOT 1
- 431 (Request Header Fields Too Large) HOT 1
- npm run start 注册账号提示跨域,请问有解决办法吗? HOT 1
- 登出后用户没有退出,还能打开其他页面 HOT 4
- git clone 下来npm install后 HOT 2
- 我又来了,关于配置的一点疑问 HOT 10
- 为什么需要在生产环境下才能正常浏览图片? HOT 1
- 生产环境中,游客如何访问 HOT 2
- 请问怎么部署到centos服务器上? HOT 1
- 程序运行说明需要修正 HOT 1
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 vue-scscms.