摘要: "REG" 阅读全文
posted @ 2017-04-03 12:12 judy201654321 阅读(200) 评论(0) 推荐(0) 编辑
摘要: "for" 循环 阅读全文
posted @ 2017-04-02 17:54 judy201654321 阅读(173) 评论(0) 推荐(0) 编辑
摘要: "promise" 阅读全文
posted @ 2017-04-02 16:25 judy201654321 阅读(110) 评论(0) 推荐(0) 编辑
摘要: "node.js^7.0.0" api 阅读全文
posted @ 2017-04-02 15:38 judy201654321 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 常见的 "javascript数据结构与算法" 的实现 阅读全文
posted @ 2017-04-02 13:57 judy201654321 阅读(118) 评论(0) 推荐(0) 编辑
摘要: "axios" 的基本使用 "参考1" "参考2" "API" 阅读全文
posted @ 2017-04-02 10:40 judy201654321 阅读(97) 评论(0) 推荐(0) 编辑
摘要: "es6" 语法校验 阅读全文
posted @ 2017-04-02 09:30 judy201654321 阅读(96) 评论(0) 推荐(0) 编辑
摘要: ``` export default { watch:{ $route(){ alert(1) } } } ``` 阅读全文
posted @ 2017-04-02 08:33 judy201654321 阅读(973) 评论(0) 推荐(0) 编辑
摘要: ``` const router = new VueRouter({ mode: 'history', routes //routes: 配置(人家是有名字的) }) ``` 阅读全文
posted @ 2017-04-02 08:11 judy201654321 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 揭密Vue.use()实质,多了一个install方法 skill 只需在main.js中import并使用即可 css3 动画实质就是dom结构上挂载的style样式,只要你会拔取别人的dom结构和样式 ,任何你看到的动画,都能为你所用!这点真不是吹得.. 阅读全文
posted @ 2017-04-02 06:43 judy201654321 阅读(116) 评论(0) 推荐(0) 编辑
摘要: ``` module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style extends... 阅读全文
posted @ 2017-04-01 06:03 judy201654321 阅读(113) 评论(0) 推荐(0) 编辑
摘要: ``` var path = require('path') var express = require('express') var webpack = require('webpack') var config = require('../config') var proxyMiddleware = require('http-proxy-middleware') var webpackCon... 阅读全文
posted @ 2017-04-01 06:01 judy201654321 阅读(320) 评论(0) 推荐(0) 编辑
摘要: ``` var path = require('path') var config = require('../config') var utils = require('./utils') var projectRoot = path.resolve(__dirname, '../') module.exports = { entry: { app: './src/main.js' }... 阅读全文
posted @ 2017-04-01 06:00 judy201654321 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 给父元素font size:0 子元素:14px 阅读全文
posted @ 2017-03-30 20:09 judy201654321 阅读(225) 评论(0) 推荐(0) 编辑
摘要: ES6 语法 等号和箭头函数前后必须有空格 逗号、冒号后必须有一个空格 不能留空行 阅读全文
posted @ 2017-03-30 19:24 judy201654321 阅读(107) 评论(0) 推荐(0) 编辑
摘要: ``` "no alert": 0,//禁止使用alert confirm prompt "no array constructor": 2,//禁止使用数组构造器 "no bitwise": 0,//禁止使用按位运算符 "no caller": 1,//禁止使用arguments.caller或a 阅读全文
posted @ 2017-03-30 17:26 judy201654321 阅读(635) 评论(0) 推荐(1) 编辑
该文被密码保护。 阅读全文
posted @ 2017-03-30 16:59 judy201654321 阅读(50) 评论(0) 推荐(0) 编辑
摘要: ``` function resolve (dir) { return path.join(__dirname, '..', dir) } resolve: { extensions: ['.js', '.vue', '.json','.styl'], alias: { 'vue$': 'vue/dist/vue.esm.js', '@': resol... 阅读全文
posted @ 2017-03-30 16:06 judy201654321 阅读(304) 评论(0) 推荐(0) 编辑
摘要: ``` cnpm i browser-sync -g browser-sync start --server --files "*" //此处必须是双引号,而且必须有空格若是单引号,则无效 ``` 阅读全文
posted @ 2017-03-30 12:35 judy201654321 阅读(96) 评论(0) 推荐(0) 编辑
摘要: router.go('/home'),默认会跑到home组件中 webpack配置webpack.base.conf.js技巧 阅读全文
posted @ 2017-03-30 08:51 judy201654321 阅读(96) 评论(0) 推荐(0) 编辑