Describe the bug 注释插件的话是可以使用的,目前就这一个问题了,不知道如何解决 配置如下 import { loadEnv, defineConfig } from 'vite' import { createHtmlPlugin } from 'vite-plugin-html' import vue from '@vitejs/plugin-vue2' import vueJsx from '@vitejs/plugin
unplugin-vue-components 是由 Vue官方人员开发的一款自动引入插件,可以省去比如 UI 库的大量 import 语句。 //1、安装npm i unplugin-vue-components -D//2、配置import { AntDesignVueResolver }from'unplugin-vue-components/resolvers'import Componentsfrom'unplugin-vue-components/vite'import { defineConfig...
unplugin-vue-components 是由vue官方人员开发的一款自动引入插件,可以省去比如UI库的大量 import 语句。 安装: 1 npm i unplugin-vue-components -D 配置: vite.config.js 1 2 3 4 5 6 7 8 9 10 11 12 import{ AntDesignVueResolver } from'unplugin-vue-components/resolvers' importComponents from'u...
version: { // ... "vue": "^3.2.19", "ant-design-vue": "^2.2.8", "vite": "^2.5.10", "unplugin-vue-components": "^0.15.4" } vite.config.js: { // ... css: { preprocessorOptions: { less: { modifyVars: { 'primary-color': '#3351c7', 'border-ra...
extensions: ['vue','jsx'], // 文件类型 dts: 'src/components.d.ts', // 输出文件,里面都是一些import的组件键值对 // ui库解析器,也可以自定义,需要安装相关UI库 resolvers: [ VantResolver(), ElementPlusResolver(), // AntDesignVueResolver(), ...
verson info "ant-design-vue": "3.0.0-alpha.3", "unplugin-vue-components": "^0.16.0", "vite": "^2.4.4", vite.config.ts css: { preprocessorOptions: { less: { modifyVars: { "btn-height-base": "38px", "btn-height-lg": "46px", "btn-height-sm"...
It doesn't work unfortunately here is my vite config import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import Components from 'unplugin-vue-components/vite' import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers' export default defineConfig({ plugins:...
i have tried to set cjs to both true and false to build, but same error. using all latest version. Components({ // allow auto load markdown components under `./src/components/` extensions: ['vue', 'md'], // allow auto import and register...
line-height: 1.25; color: #78787a; " > 主题 Re: [antfu/unplugin-vue-components] Dynamic import Ant Design Vue components,style of message is invalid。 (Issue #189)