mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-06 22:19:30 -07:00
20 lines
515 B
TypeScript
20 lines
515 B
TypeScript
import { fileURLToPath, URL } from 'node:url';
|
|
|
|
import { defineConfig } from 'vite';
|
|
import vue from '@vitejs/plugin-vue';
|
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue(), vueJsx(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
'@content': path.resolve(__dirname, 'src/content'),
|
|
vue: 'vue/dist/vue.esm-bundler.js'
|
|
}
|
|
}
|
|
});
|