Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> npm run build
> vueblog-vue@0.1.0 build
> vue-cli-service build
| Building for production...
WARNING Compiled with 3 warnings 16:07:05
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/chunk-vendors.8611f209.js (1.24 MiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can
impact web performance.
Entrypoints:
app (1.48 MiB)
css/chunk-vendors.445067d6.css
js/chunk-vendors.8611f209.js
css/app.f641f837.css
js/app.80ba5dfd.js
warning
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
File Size Gzipped
dist\js\chunk-vendors.8611f209.js 1274.42 KiB 363.51 KiB
dist\js\app.80ba5dfd.js 11.78 KiB 4.06 KiB
dist\css\chunk-vendors.445067d6.css 232.04 KiB 38.13 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> cnpm run build
> vueblog-vue@0.1.0 build D:\springboot\vue-blog\vueblog-master\vueblog-vue
> vue-cli-service build
| Building for production...
WARNING Compiled with 3 warnings 16:07:29
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/chunk-vendors.8611f209.js (1.24 MiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can
impact web performance.
Entrypoints:
app (1.48 MiB)
css/chunk-vendors.445067d6.css
js/chunk-vendors.8611f209.js
css/app.f641f837.css
js/app.80ba5dfd.js
warning
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
File Size Gzipped
dist\js\chunk-vendors.8611f209.js 1274.42 KiB 363.51 KiB
dist\js\app.80ba5dfd.js 11.78 KiB 4.06 KiB
dist\css\chunk-vendors.445067d6.css 232.04 KiB 38.13 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at
https://cli.vuejs.org/guide/deployment.html
PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> npm run server
npm ERR! Missing script:"server"
npm ERR!
npm ERR! npm run serve # run the "serve" package script
npm ERR!
npm ERR! To see a list of scripts,run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> cnpm install
√ Installed 14 packages
√ Linked 0 latest versions
√ Run 0 scripts
√ All packages installed (used 23ms(network 19ms), speed 0B/s, json 0(0B), tarball 0B)
PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> cnpm run build
> vueblog-vue@0.1.0 build D:\springboot\vue-blog\vueblog-master\vueblog-vue
> vue-cli-service build
| Building for production...
WARNING Compiled with 3 warnings 16:08:47
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/chunk-vendors.8611f209.js (1.24 MiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can
impact web performance.
Entrypoints:
app (1.48 MiB)
css/chunk-vendors.445067d6.css
js/chunk-vendors.8611f209.js
css/app.f641f837.css
js/app.80ba5dfd.js
warning
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
File Size Gzipped
dist\js\chunk-vendors.8611f209.js 1274.42 KiB 363.51 KiB
dist\js\app.80ba5dfd.js 11.78 KiB 4.06 KiB
dist\css\chunk-vendors.445067d6.css 232.04 KiB 38.13 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> npm run serve
> vueblog-vue@0.1.0 serve
> vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
DONE Compiled successfully in 2481ms 16:09:17
App running at:
- Local:http://localhost:8080/
- Network:http://192.168.1.134:8080/
Note that the development build is not optimized.
To create a production build, run npm run build.
cnpm installcnpm run buildcnpm run serveWindows PowerShell版权所有 (C) Microsoft Corporation。保留所有权利。尝试新的跨平台 PowerShell https://aka.ms/pscore6PS D:\springboot\vue-blog\vueblog-master\vueblog-vue> npm run build> vueblog-vue@0.1.0 build> vue-