码迷,mamicode.com
首页 > Web开发 > 详细

django- Vue.js 操作

时间:2019-04-22 00:14:42      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:ack   style   cnpm   run   webpack   strong   color   vue-cli   npm   

技术图片

 

 

 

安装cnpm

 

npm install -g cnpm --registry=https://registry.npm.taobao.org

 

 

安装 vue.js

 

cnpm install -g vue-cli

 

cnpm cache clean —force

 

cnpm install webpack -g

 

//打开要创建的项目路径目录,创建项目

vue init webpack-simple <项目名>

cd <项目名>

 

//安装路由

cnpm install vue-router --save

 

//安装jquery

cnpm install jquery --save

 

//热启动服务

cnpm run dev

 

 

技术图片

 

 

django- Vue.js 操作

标签:ack   style   cnpm   run   webpack   strong   color   vue-cli   npm   

原文地址:https://www.cnblogs.com/weifeng-888/p/10747818.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!