feat: setup shadcn-svelte
This commit is contained in:
parent
564ec2233c
commit
72048b2aab
20 changed files with 5879 additions and 329 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import path from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
main: {
|
||||
|
|
@ -9,6 +11,11 @@ export default defineConfig({
|
|||
plugins: [externalizeDepsPlugin()]
|
||||
},
|
||||
renderer: {
|
||||
plugins: [svelte()]
|
||||
plugins: [svelte(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
$lib: path.resolve("./src/renderer/src/lib")
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue