I\'m using Vuejs. This is my markup:
6条回答 生来不讨喜 (楼主) 2020-12-07 14:00 The simple thing is to put the script below the document, just before your closing tag: app.js file: var main = new Vue({ el: '#main', data: { currentActivity: 'home' } }); 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
The simple thing is to put the script below the document, just before your closing tag:
app.js file:
var main = new Vue({ el: '#main', data: { currentActivity: 'home' } });