会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
前端CodingPeasant
博客园
首页
新随笔
联系
订阅
管理
2019年12月15日
怎么定义一个自己的vue组件
摘要: 1.在src文件夹中创建一个hello文件夹,然后创建hello.js和hello.vue 2.hello.vue代码如下 1 <template> 2 <button>这是hello按钮</button> 3 </template> 4 5 <script> 6 export default {
阅读全文
posted @ 2019-12-15 20:21 前端CodingPeasant
阅读(375)
评论(0)
推荐(1)