下载vuejs,Hello Vue(vscode)

喜夏-厌秋 提交于 2019-12-05 17:45:51

下载vuejs,Hello Vue(vscode)

传送门:https://cn.vuejs.org/v2/guide/installation.html

1.如果一开始仅仅是熟悉vue语法,没必要搭建大型vue的框架,下载vuejs库,即可进行语法练习。

 

enter description here
enter description here

 

2.新建一个vue工程目录,在Vscode中找到并打开该目录,新建一个lib文件,把下载下来的vue.js直接拖拽到工程即可。

 

拖拽进vscode
拖拽进vscode

 

3.新建一个h5文件,并在script标签下引入该库文件。

 

引入库
引入库

 

4.HelloVue

 

Hello Vue
Hello Vue

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!