试一下静态化
Showing
.env.development
0 → 100644
... | ... | @@ -3,11 +3,12 @@ |
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"start": "npm run build:server && npm run build:client && npm run service", | ||
"build:client": "cross-env RUN_ENV=client vue-cli-service build", | ||
"build:server": "cross-env RUN_ENV=server vue-cli-service build --mode server", | ||
"service": "node server/index.js", | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"devbuild": "vue-cli-service build --mode dev", | ||
"lint": "vue-cli-service lint", | ||
"test:unit": "vue-cli-service test:unit" | ||
"build": "vue-cli-service build" | ||
}, | ||
"dependencies": { | ||
"animate.css": "^4.1.0", | ||
... | ... | @@ -28,17 +29,21 @@ |
"jquery": "^3.4.1", | ||
"js-base64": "^2.5.1", | ||
"js-md5": "^0.7.3", | ||
"koa": "^2.13.1", | ||
"koa-static": "^5.0.0", | ||
"less-loader": "^5.0.0", | ||
"lrz": "^4.9.40", | ||
"mint-ui": "^2.2.13", | ||
"nativeshare": "^2.1.3", | ||
"pdfjs-dist": "^2.4.456", | ||
"portfinder": "^1.0.21", | ||
"prerender-spa-plugin": "^3.4.0", | ||
"vue": "^2.6.10", | ||
"vue-awesome-swiper": "^3.1.3", | ||
"vue-count-to": "^1.0.13", | ||
"vue-cropper": "^0.5.6", | ||
"vue-i18n": "^8.14.0", | ||
"vue-meta-info": "^0.1.7", | ||
"vue-native-share": "^1.0.2", | ||
"vue-pdf": "^4.0.8", | ||
"vue-preview": "^1.1.3", | ||
... | ... | @@ -49,6 +54,7 @@ |
"vue-select": "^3.1.0", | ||
"vue-video-player": "^5.0.2", | ||
"vuex": "^3.0.1", | ||
"vuex-router-sync": "^5.0.0", | ||
"wangeditor": "^3.1.1", | ||
"weixin-js-sdk": "^1.4.0-test" | ||
}, | ||
... | ... | @@ -64,6 +70,7 @@ |
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^23.6.0", | ||
"babel-plugin-transform-remove-strict-mode": "0.0.2", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-vue": "^5.0.0", | ||
"html-webpack-plugin": "^4.3.0", | ||
... | ... | @@ -72,7 +79,9 @@ |
"node-sass": "^4.9.0", | ||
"pdfh5": "^1.3.9", | ||
"sass-loader": "^7.1.0", | ||
"vue-server-renderer": "^2.6.12", | ||
"vue-template-compiler": "^2.6.10", | ||
"webpack-node-externals": "^2.5.2", | ||
"weixin-jsapi": "^1.1.0", | ||
"worker-loader": "^2.0.0" | ||
} | ||
... | ... |
server/index.js
0 → 100644
src/entry-client.js
0 → 100644
src/entry-server.js
0 → 100644
src/index.template.html
0 → 100644
This diff is collapsed.
src/views/test.vue
0 → 100644
Please
register
or
sign in
to comment