04 2018 档案
摘要:在 webpack-dev-server 的配置中添加disableHostCheck: true
阅读全文
摘要:Vue.prototype.$eventHub = new Vue(); this.$eventHub.$emit('update:someValue', this.myValue); this.$eventHub.$on('update:someValue', arg => this.wrappe
阅读全文
摘要:使用version3版本, const myDb = db.db('YourDatabase') // 加这句 myDb.collection('YourDatabase')...... 或者, mongodb版本降级到version2, npm install mongodb@2.2.33 --s
阅读全文
摘要:common.js中个方法: foo运行于demo.vue中
阅读全文