diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2022-10-22 19:07:14 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2022-10-22 19:07:14 +0300 |
| commit | d963c3f40f075c05d70af32f44ed2bec8e00bc37 (patch) | |
| tree | 33a362746201ebec46e7c741e40a530d5f32e38b /frontend/vite.config.ts | |
| download | lphub-d963c3f40f075c05d70af32f44ed2bec8e00bc37.tar.gz lphub-d963c3f40f075c05d70af32f44ed2bec8e00bc37.tar.bz2 lphub-d963c3f40f075c05d70af32f44ed2bec8e00bc37.zip | |
init
Diffstat (limited to 'frontend/vite.config.ts')
| -rw-r--r-- | frontend/vite.config.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts new file mode 100644 index 0000000..2fb21e9 --- /dev/null +++ b/frontend/vite.config.ts | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | import { fileURLToPath, URL } from 'node:url' | ||
| 2 | |||
| 3 | import { defineConfig } from 'vite' | ||
| 4 | import vue from '@vitejs/plugin-vue' | ||
| 5 | import vueJsx from '@vitejs/plugin-vue-jsx' | ||
| 6 | |||
| 7 | // https://vitejs.dev/config/ | ||
| 8 | export default defineConfig({ | ||
| 9 | plugins: [vue(), vueJsx()], | ||
| 10 | resolve: { | ||
| 11 | alias: { | ||
| 12 | '@': fileURLToPath(new URL('./src', import.meta.url)) | ||
| 13 | } | ||
| 14 | } | ||
| 15 | }) | ||