vue3
coolsheep_
这个作者很懒,什么都没留下…
展开
-
关于vite打包,遇到Some chunks are larger警告
解决:import { defineConfig } from 'vite'import vue from '@vitejs/plugin-vue'export default defineConfig({ plugins: [vue()], build: { rollupOptions: { output: { //解决打包时Some chunks are larger警告 manualChunks(id) { if (id.includes('node_.原创 2021-07-05 08:54:25 · 1918 阅读 · 0 评论 -
vue3 ref及reactive 函数用法区别
<template> <el-button @click="changeMyCount" size="mini">加1</el-button> <span>num:{{num}}</span> <br> <br> <el-button @click="state.show = !state.show" size="mini">transition</el-button> <el-co原创 2021-07-02 16:09:37 · 435 阅读 · 0 评论