feat: add vite-plugin-components

This commit is contained in:
Anthony Fu committed 2020-08-20 16:04:00 +08:00
1 parent 3a66a4744e
commit 5022d6252f
8 files changed
+40 -29

No files matched your search

+3 -4
View File
@@ -1,12 +1,11 @@
import Voie from 'vite-plugin-voie'
import PurgeIcons from 'vite-plugin-purge-icons'
import { VitePluginComponents } from 'vite-plugin-components'
export default {
plugins: [
Voie({
pagesDir: 'src/pages',
extensions: ['vue', 'ts'],
}),
Voie(),
VitePluginComponents(),
PurgeIcons(),
],
}