wd 1a73c9e0d5 hse成绩乜有不让提交;加个开关 4 년 전
..
src 1a73c9e0d5 hse成绩乜有不让提交;加个开关 4 년 전
.babelrc 2ceeaf6e9a IE兼容测试 6 년 전
.editorconfig a00a361b72 hello labsop_base ! 6 년 전
.eslintrc.js a00a361b72 hello labsop_base ! 6 년 전
.gitignore 216d16d2df 前端:已办待办字段排序 4 년 전
README.md d003568134 前端: ReadMe 5 년 전
nuxt.config.ignore.js b6beb0743a 项目配置板块对接完成提交 5 년 전
nuxt.config.js 68602a7d99 前端:high-chart plugin 4 년 전
nuxt.config.prod.js 0584739371 前端:删除无关文案 4 년 전
package-lock.json 68602a7d99 前端:high-chart plugin 4 년 전
package.json 68602a7d99 前端:high-chart plugin 4 년 전
yarn.lock 879e703e4e element2.8.2 -- 准入方式,除一级二级外其他需要考察报告 5 년 전

README.md

shanlan

Nuxt.js project

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev # Or yarn dev

# build for production and launch server
$ npm run build # Or yarn build
$ npm start # Or yarn start

# generate static project
$ npm run generate

生产环境部署(使用PM2)

# install pm2 globally
$ yarn global add pm2
# launch production server
$ yarn start:pm2
# Display all processes status
$ pm2 ls
# Show all information about app
$ pm2 show shanlan
# Display memory and cpu usage of each app
$ pm2 monit
# Display logs
$ pm2 logs
# Stop
$ pm2 stop shanlan
# Kill and delete
$ pm2 delete shanlan

For detailed explanation on how things work, checkout the Nuxt.js docs.

解决编译或打包时内存溢出,过程停止:

npm install -g increase-memory-limit

windows

set NODE_OPTIONS=--max_old_space_size=4096

mac/linux

export NODE_OPTIONS=--max_old_space_size=4096