更新代码
Showing
{ | { | ||
"name": "test", | "name": "ssr-pc", | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"description": "A Eye7 Web Project", | "description": "测试", | ||
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"dev-ssr": "cross-env ENV_CONFIG=dev ssr=true nuxt -o --port=3001", | "dev-ssr": "cross-env ENV_CONFIG=dev ssr=true nuxt -o --port=3001", | ||
"dev-ssr-prod": "cross-env IS_LOCAL=1 ENV_CONFIG=pro ssr=true nuxt -o --port=3001", | "dev-ssr-prod": "cross-env IS_LOCAL=1 ENV_CONFIG=pro ssr=true nuxt -o --port=3001", | ||
"build": "cross-env ENV_CONFIG=dev ssr=true nuxt build -o --port=3001", | "start": "cross-env ENV_CONFIG=dev nuxt start --port=3001", | ||
"build": "cross-env ENV_CONFIG=dev ssr=true nuxt build -o --port=3001 && npm start", | |||
"build-prod": "cross-env ENV_CONFIG=pro ssr=true nuxt build -o --port=3001" | "build-prod": "cross-env ENV_CONFIG=pro ssr=true nuxt build -o --port=3001" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@nuxtjs/axios": "^5.8.0", | "@nuxtjs/axios": "^5.8.0", | ||
"autoprefixer": "^9.7.2", | "autoprefixer": "^9.7.2", | ||
"babel-polyfill": "6.26.0", | "babel-polyfill": "6.26.0", | ||
"js-cookie": "2.2.1", | |||
"cookie-universal-nuxt": "2.0.19", | "cookie-universal-nuxt": "2.0.19", | ||
"cross-env": "5.2.0", | "cross-env": "5.2.0", | ||
"js-cookie": "2.2.1", | |||
"less": "3.10.3", | "less": "3.10.3", | ||
"less-loader": "5.0.0", | "less-loader": "5.0.0", | ||
"lib-flexible": "0.3.2", | "lib-flexible": "0.3.2", | ||
"node-cmd": "^5.0.0", | |||
"nuxt": "2.9.2", | "nuxt": "2.9.2", | ||
"postcss-loader": "3.0.0", | "postcss-loader": "3.0.0", | ||
"postcss-px2rem": "0.3.0", | "postcss-px2rem": "0.3.0", | ||
... | ... |
start.js
0 → 100644
Please
register
or
sign in
to comment