From af393d3322a0e2f984317bbe0118f3f61d409b88 Mon Sep 17 00:00:00 2001 From: Johnella Kyle San Juan Date: Wed, 12 Jun 2024 14:36:10 +0800 Subject: [PATCH] [0.1.14.3] + refactor --- vite.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index fdd6c49..fa13900 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,10 +1,20 @@ +import { resolve } from 'path' import {defineConfig} from 'vite' import WindiCSS from 'vite-plugin-windicss' import RubyPlugin from 'vite-plugin-ruby' +import vue from '@vitejs/plugin-vue' +import components from 'unplugin-vue-components/vite' export default defineConfig({ plugins: [ + vue(), WindiCSS(), RubyPlugin(), + components({ + dirs: [resolve(__dirname, '_frontend/components')], + resolvers: [ + + ] + }) ], })