2018-01-22

这是一个webpack工程,它通过vue-cli构建,相关版本信息:
version:npm 3.10.10
vue-cli:2.9.1

本工程由vue cli命令来构建(webpack项目):

vue init webpack myproject
A newer version of vue-cli is available.

latest: 2.9.2
installed: 2.9.1

? Project name myproject
? Project description A Vue.js project
? Author yasz [email protected]
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? Yes
? Should we run npm install for you after the project has been created? (recommended) npm

vue-cli · Generated "myproject".

运行本项目方法:

cd myproject //进入项目目录
npm install //在项目中安装依赖包
npm run dev //运行项目

你可能感兴趣的:(2018-01-22)