12 2021 档案
摘要:webpack-bundle-analyzer 扫描 bundle 并构建其内部内容的可视化。使用此可视化来查找大的或不必要的依赖项。 步骤一:安装 webpack-bundle-analyzer npm install webpack-bundle-analyzer --save-dev 步骤二:
阅读全文
摘要:首先安装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" @
阅读全文
摘要:首先安装插件:2.4.2版本 npm install @better-scroll/core --save <template> <div class="wrapper" ref="scroll"> <div class="content" > </div> </div> </template> <
阅读全文
摘要:<input type="text" placeholder="" v-model="text" @input="onInput()" /> //禁止输入表情符号 onInput () { var reg = /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D
阅读全文