摘要:
webpack-bundle-analyzer 扫描 bundle 并构建其内部内容的可视化。使用此可视化来查找大的或不必要的依赖项。 步骤一:安装 webpack-bundle-analyzer npm install webpack-bundle-analyzer --save-dev 步骤二: 阅读全文
posted @ 2021-12-10 14:46
chicidol
阅读(88)
评论(0)
推荐(0)
摘要:
首先安装swiper插件:6.8.4版本 npm install swiper --save <template> <div> <div class="img"> <img v-for="(img,index) in srcList" :src="img" alt="" :key="index" @ 阅读全文
posted @ 2021-12-10 14:32
chicidol
阅读(703)
评论(0)
推荐(0)
摘要:
首先安装插件:2.4.2版本 npm install @better-scroll/core --save <template> <div class="wrapper" ref="scroll"> <div class="content" > </div> </div> </template> < 阅读全文
posted @ 2021-12-10 13:43
chicidol
阅读(198)
评论(0)
推荐(0)
摘要:
<input type="text" placeholder="" v-model="text" @input="onInput()" /> //禁止输入表情符号 onInput () { var reg = /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D 阅读全文
posted @ 2021-12-06 20:23
chicidol
阅读(435)
评论(0)
推荐(0)
浙公网安备 33010602011771号