返回顶部
摘要: 参考:https://www.cnblogs.com/mz-2015/p/9577100.html 1. 安装v-touch: (vue2.0之后的要使用next分支才行,之前的使用master分支即可) npm insall vue-touch@next --save 2. main.js中引入, 阅读全文
posted @ 2020-04-02 21:03 前端-xyq 阅读(1663) 评论(0) 推荐(0)
摘要: 效果: 未引入 引入后 我想引入的字体是"din-bold_",首先在assets下新建一文件夹"font"(其他位置也行,根据喜好习惯即可),将字体文件"din-bold_.otf"放入,接下来在需要引入的组件中引入即可。 vue: <template> <div class="hello"> < 阅读全文
posted @ 2020-04-02 20:30 前端-xyq 阅读(4575) 评论(0) 推荐(0)