vue+webpack5项目中全局引入scss
vue+webpack5项目中全局引入scss一 安装插件 npmisass resources loader D 二 修改 wenpack 的 rule 配置 全局引入 scss 变量 test css scss sass use ...
vue项目history路由的配置
vue项目history路由的配置一 前端配置 import createRouter createWebHis from vue router consthash createWebHis constrouter createRou...
vue3的语法使用总结api
vue3的语法使用总结api参考文章 vue3 保姆级教程 掘金 juejin cn 一 setupsetup 在 beforeCreate created 前 现在用它来取代这两个生命周期函数 templatedivc home b...
vue3开启eslint之后报错:error Parsing error: ‘>‘ expected
vue3开启eslint之后报错:error Parsing error: ‘>‘ expectedeslint 文件需要添加这两个配置 env browser true es2021 true parser vue eslint p...
vue中动画效果的实现
vue中动画效果的实现一 过渡动画的实现 1 无过渡 直接变化 templatedivc testBox divclass testCon style width width px divdivclass testBtn click ...
vue2使用脚手架配置prettier报错:‘prettier/prettier‘: context.getPhysicalFilename is not a function
vue2使用脚手架配置prettier报错:‘prettier/prettier‘: context.getPhysicalFilename is not a function本文讲述了在 Vue 项目中遇到的依赖版本冲突问题 涉及 ...
vue2项目中全局引入scss变量
vue2项目中全局引入scss变量一 设置好变量文件二 设置 vue config js 中的配置 devServer css loaderOption sass prependData import assets style com...
webpack5+vue3搭建h5项目模板-(一)-基础配置
webpack5+vue3搭建h5项目模板-(一)-基础配置一 概述本文主要是使用 webpack5 vue3 vw 适配 axios vue router vuex vant 搭建一个基础的 h5 项目结构
webpack5+vue3搭建h5项目模板-(二)-eslint代码规范化
webpack5+vue3搭建h5项目模板-(二)-eslint代码规范化本文接上一节 https blog csdn net weixin article details spm 1001 2014 3001 5501 一 esli...
vue3的自定义指令
vue3的自定义指令一 自定义指令的 vue3 和 vue2 的写法变化官网中是这样介绍的 https v3 cn vuejs org guide migration custom directives html 2 x E8 AF ...