鹏程万里------老化上云(1)

一切都由浏览器来完成。

决定搞vue+springboot

首先安装node.js

然后安装vue

Microsoft Windows [版本 10.0.18362.476]
(c) 2019 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>node -v
v12.13.1

C:\Users\Administrator>npm install -g vue-cli
npm WARN deprecated [email protected]: This package has been deprecated in favour of @vue/cli
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
C:\Users\Administrator\AppData\Roaming\npm\vue -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\vue-cli\bin\vue
C:\Users\Administrator\AppData\Roaming\npm\vue-list -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-list
C:\Users\Administrator\AppData\Roaming\npm\vue-init -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-init
+ [email protected]
added 241 packages from 206 contributors in 121.767s

C:\Users\Administrator>npm install vue -g
+ [email protected]
added 1 package from 1 contributor in 2.065s

C:\Users\Administrator>npm install -g webpack
npm WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
C:\Users\Administrator\AppData\Roaming\npm\webpack -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\webpack\bin\webpack.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\webpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ [email protected]
added 322 packages from 197 contributors in 43.734s

C:\Users\Administrator>

然后在idea里导入

鹏程万里------老化上云(1)_第1张图片

然后新建项目,选择static web里的vue,新工程建好后,会下载一堆工具包,下载好后点击右上角的

运行按键然后看到

在自己的浏览器里输入这个地址就能看到了

 

但是这还不算晚

C:\Users\Administrator>npm install -g @vue/cli

还得安装一堆东西

鹏程万里------老化上云(1)_第2张图片

鹏程万里------老化上云(1)_第3张图片

 

你可能感兴趣的:(鹏程万里------老化上云(1))