- 博客(4)
- 收藏
- 关注
原创 vscode编辑器vue中template标签没有html自动提示,补全
首先需要安装HTML Snippets插件配置//vue中的template没有html自动补全,提示,需要按以下两个顺序配置 "emmet.syntaxProfiles": { "vue-html":"html", "vue":"html" }, "files.associations": { "*.vue":"vue" },...
2020-12-19 14:48:57
9104
8
原创 解决vue项目中better-scroll的刷新后滚动失效
1. 在vue项目中,一开始打开页面时是可以滚动的这时hasVerticalScroll为true,可以滚动2. 当刷新页面时,页面就不能滚动了template部分 <div ref="container" class="container"> <div class="content"> <!-- 滚动列表 --> <div class="cityHot"> <div class="C
2020-12-08 10:48:22
970
2
原创 vue+webpack中proxyTable配置
proxyTable作用proxyTable是解决本地跨域问题的因为本地地址为localhost:xxxx/xxx,在线上的生产环境是没用的proxyTable配置首先打开config/index.js文件proxyTable: { // 这里配置 '/api' 就等价于 target , 你在链接里访问 /api === http://localhost:端口号 '/api': { target: 'http://localhost:端口号
2020-12-05 11:23:11
441
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人