摘要: 1)引入组件时路径一定要是./ or ../开头 import Goback from './public/goback.vue' 2)这类输入框绑定的值不是:value 不是 :value 不然数据到死都不会双向绑定 <input type="text" v-model="a">3)数据监听wat 阅读全文
posted @ 2017-09-07 15:51 阿奇blog 阅读(221) 评论(0) 推荐(1)
摘要: body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 阅读全文
posted @ 2017-09-07 11:09 阿奇blog 阅读(184) 评论(0) 推荐(0)
摘要: 1):$ npm install less less-loader --save 2)style里 <style lang='less'> 2): $ npm i vue-resource --save import VueResource from 'vue-resource' Vue.use(V 阅读全文
posted @ 2017-09-07 10:32 阿奇blog 阅读(3650) 评论(0) 推荐(0)
摘要: !function () { var meta = document.createElement('meta'); var num = 1 / window.devicePixelRatio; meta.name = 'viewport'; meta.content = 'width=device- 阅读全文
posted @ 2017-09-07 10:04 阿奇blog 阅读(193) 评论(0) 推荐(0)