当前位置: 首页 > news >正文

优化网站佛山厂商南宁seo专员

优化网站佛山厂商,南宁seo专员,好看的旅游网站模版,包头做网站的公司招聘信息当我们开发完自定义UI组件库后,在项目中使用时,想要达到以下提示效果,组件提示与属性提示,有什么解决方案呢: 事实上,这是vetur的功能,原文如下: Component Data | Vetur If a pac…

当我们开发完自定义UI组件库后,在项目中使用时,想要达到以下提示效果,组件提示与属性提示,有什么解决方案呢:

 事实上,这是vetur的功能,原文如下:

Component Data | Vetur

If a package listed in dependencies has a vetur key in its package.json, then Vetur will try to read the tags / attributes specified by that key.

{"vetur": {"tags": "dist/vetur/tags.json","attributes": "dist/vetur/attributes.json"}
}

By bundling the tags / attributes definitions together with the framework library, you ensure that users will always get the matching tags / attributes with the specific version of your library they are using.

我的步骤如下:

1、package.json

"vetur": {"tags": "./vetur/tags.json","attributes": "./vetur/attributes.json"}

2、tags.json

{"Card": {// description放在首位,否则无法识别"description": "这是一个全新的筛选框架组件",// "slotTip", "emitTip" 扩展slot与emit,这两个不在props中。"attributes": ["type","slotTip", "emitTip"]}
}

3、attributes.json

{"type": {"description": "类型"},"slotTip": {"description": "包含以下slot:title、content"},"emitTip": {"description": "包含以下Events:query(説明:插槽searchInput的@keyup.enter.native的事件)"}
}

 发布npm,项目更新私库(有时需要重启vscode)之后,便可以了。

http://www.hrbkazy.com/news/44950.html

相关文章:

  • 北京网站建设qq群线上宣传渠道和宣传方式
  • 1.86神华网站两学一做杭州seo公司
  • 扬州网络科技有限公司网站建设seo交流群
  • 市场营销策略是什么桌子seo关键词
  • 大数据营销是做什么的成都关键词优化服务
  • 网站建设业务员怎么做seo关键词排名在线查询
  • 商城网站html模板请输入搜索关键词
  • 网站制作的评价指标中怎么可以在百度发布信息
  • top后缀做网站好不好互动营销用在哪些推广上面
  • 做农产品网站需要办什么证seo平台
  • com的域名是指商业网站的域名.品牌营销包括哪些内容
  • 机械技术支持 东莞网站建设东莞全网推广
  • yfcmf做网站郑州seo优化外包顾问阿亮
  • wordpress建站赚钱seo排名赚靠谱吗
  • 大学生做网站类型陕西seo优化
  • 自己的电脑可以做网站服务器吗seo精华网站
  • 做的图怎么上传到网站赣州seo
  • 共青团中央网站自我建设百度首页推荐关不掉吗
  • 长沙建设网站360seo
  • 暴雪中国官网seo网站优化服务
  • 在家做网站或ps挣钱接活seo网站关键词优化机构
  • 始兴生态建设网站免费十八种禁用网站
  • 网站qq访客获取百度推广是干什么的
  • 网站如何建数据库seo实战密码第四版pdf
  • 长沙网站建设湘icp备网站排名seo
  • 动态ip建网站竞价关键词排名软件
  • 最新项目重庆seo优化效果好
  • 随州有哪些网站建设的公司十大收益最好的自媒体平台
  • 成都h5网站建设推广普通话的宣传语
  • 玉环 企业网站建设深圳seo招聘