feat: vite-plugin-svg-icons引入

1. vite-plugin-svg-icons引入
2. vite.config.ts读取环境变量
3. vite配置跨域
This commit is contained in:
有来技术
2021-11-25 23:59:19 +08:00
parent 151edb3b07
commit 40aeda6bfc
98 changed files with 133 additions and 142 deletions

View File

@@ -52,9 +52,13 @@
</template>
<script>
import SvgIcon from '@/components/SvgIcon/index.vue';
export default {
name: 'Login',
components:{
SvgIcon
},
data() {
const validatePassword = (rule, value, callback) => {
if (value.length < 6) {