vue等前端
一点寒芒先至
这个作者很懒,什么都没留下…
展开
-
vue(一)nodejs操作数组
常见方法,其中filter和map会改变数组let array=[1,2,3,4,5];// for (let index = 0; index < array.length; index++) {// const element = array[index];// console.log(element);// }// 1)let val of obj 遍历/...转载 2018-11-29 10:53:24 · 2189 阅读 · 0 评论 -
vue(六)bootstrap+vue
bootstrap.html <html> <head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>hello</title><!-- 引入样式 --> <link hr转载 2018-12-01 16:42:17 · 681 阅读 · 0 评论 -
node+webpack(三)
npm i postcss-loader autoprefixer babel-loader babel-core1.在根目录创建 postcss.config.jsconst autoprefixer = require('autoprefixer')module.exports = { plugins : [ autoprefixer() ]}2.在根...转载 2018-11-28 11:26:59 · 170 阅读 · 0 评论 -
vue(五)axios用法
<html><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>hello</title></head><body> <div转载 2018-11-30 21:56:41 · 150 阅读 · 0 评论 -
node+webpack(二)webpack-dev-server
npm i webpack-dev-server1.修改package.json新增"dev": "webpack-dev-server --config webpack.config.js""scripts": { "test": "echo \"Error: no test specified\" && exit 1",转载 2018-11-27 21:49:32 · 1594 阅读 · 0 评论 -
node+webpack(一)node.js+webpack+vue
依赖node,vscode vscode插件推荐: 1.Chinese (Simplified) Language Pack for Visual Studio Code 2.Vetur 3.vscode-icons 4.EditorConfig for VS Code 5.View In Browser vscode配置...转载 2018-11-27 17:27:19 · 220 阅读 · 0 评论 -
vue(四)checkbox用法
<html><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>hello</title></head><body> <div转载 2018-11-29 19:00:51 · 1832 阅读 · 0 评论 -
vue(三)vue简单todo demo
<html><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>hello</title></head><body> <div转载 2018-11-29 18:38:10 · 162 阅读 · 0 评论 -
vue(二)vue常见指令+事件
<html><head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>hello</title></head><body> <div转载 2018-11-29 16:06:18 · 273 阅读 · 0 评论