@0x-jerry/v-text 中文文档教程
V Text
Vue 用户界面库。
Usage
与 vite-plugin-components
一起使用。
修改vite.config.ts
:
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import ViteComponents from 'vite-plugin-components'
import { VTextResolver } from '@0x-jerry/v-text/vite-components-resolver'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
ViteComponents({
customComponentResolvers: [VTextResolver()],
}),
],
})
V Text
Vue UI Library.
Usage
Use with vite-plugin-components
.
Modify vite.config.ts
:
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import ViteComponents from 'vite-plugin-components'
import { VTextResolver } from '@0x-jerry/v-text/vite-components-resolver'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
ViteComponents({
customComponentResolvers: [VTextResolver()],
}),
],
})