vite.config.(ts or js)
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue({
template: {
compilerOptions: {
isCustomElement: (tag) => tag.startsWith("lord-icon"),
},
},
}),
],
});
3 条评论
来看看你,Vue学会了没?好久不更新了
学会了
2023,新年快乐!