美文网首页
用vue-cli脚手架搭建初始化vue工程

用vue-cli脚手架搭建初始化vue工程

作者: 码痞 | 来源:发表于2017-05-15 14:19 被阅读61次

    zhebushiyigehefadeyonghuming:myV chongfengzhixuyongqi$ vue init webpack myV

    This will install Vue 2.x version of the template.

    For Vue 1.x use: vue init webpack#1.0 myV

    ? Project name myv
    ? Project description Y
    ? Author DTD1031 125729996@qq.com
    ? Vue build standalone
    ? Install vue-router? No
    ? Use ESLint to lint your code? Yes
    ? Pick an ESLint preset Standard
    ? Setup unit tests with Karma + Mocha? No
    ? Setup e2e tests with Nightwatch? No

    npm install 安装依赖 (时间不短

    npm run start 启动本地服务

    相关文章

      网友评论

          本文标题:用vue-cli脚手架搭建初始化vue工程

          本文链接:https://www.haomeiwen.com/subject/ncrhxxtx.html