随笔分类 - 前端技术-Vue
摘要:代码笔记和相关分析 Login.vue <template> <div class='login_box'> <!-- 在JavaScript中需要通过document.querySelector("#demo")来获取dom节点,然后再获取这个节点的值。在Vue中,我们不用获取dom节点,元素绑定
阅读全文
posted @ 2020-04-27 13:34
茶沐书香
摘要:分析 <html> <head> <title>第一个Hello Vue程序</title> </head> <body> <div id="app"> {{message}} </div> <script src="vue.js" type="text/javascript"></script>
阅读全文
posted @ 2020-04-17 14:02
茶沐书香
摘要:网址 https://www.jianshu.com/p/277bcab77775 # clone the project git clone https://github.com/liuyongjin/pure_admin.git # enter the project directory cd
阅读全文
posted @ 2020-04-15 08:25
茶沐书香
摘要:在e:\vue\2020.4.3中,已创建vue项目。 但还没有下载element-ui,在e:\vue\2020.4.3中,输入npm install --save element-ui,回车,自动安装。 然后,在e:\vue\2020.4.3目录下,输入cnpm run dev,然后根据提示复制
阅读全文
posted @ 2020-04-03 15:03
茶沐书香
摘要:1、index.html: ①index.html为vue项目默认首页,也就是说,浏览器访问项目,会首先访问index.html。 ②在index.html中,一般只定义了一个id为app的div:<div id="app">来自index.html正文中的内容</div>。这是一个id为app的挂
阅读全文
posted @ 2020-04-03 09:30
茶沐书香
浙公网安备 33010602011771号