jaxqin / mpvue-cnode Goto Github PK
View Code? Open in Web Editor NEW用mpvue写的小程序版的cnode社区
用mpvue写的小程序版的cnode社区
##RT。我做了如下尝试:
1.在main.js中加了
usingComponents: {
'info': 'components/userInfo/index'
}
引用的vue中使用组件并没有被渲染出来
2.或者在router/routes.js中
{
path: '/pages/breakfast/index',
name: 'BreakfastList',
config: {
navigationBarTitleText: '早餐',
// 这儿添加要用的小程序组件
usingComponents: {
'info': '../../components/userInfo/index'
}
}
},
请问这个是什么原因?
npm install 之后执行 npm run dev 就出现上面的报错 是什么原因呢
npm run dev后微信开发工具中显示:编译出错Error: ENOENT:no such file or derictory,open 'E:\xxxx\dist\game.json'
/src/components/slider-nav.vue 中 46行 this.$emit('update:currentTab', current)
我想请教一下,这个'update:currentTab'事件是在哪里定义的?'update:'是语法还是一种固定的写法吗?
查询了很多资料都没看到,希望能解答一下,谢谢了!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.