用hbuider运行vue

cnpm install
cnpm run build
cnpm run serve
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.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值