build: implement shadcn
This commit is contained in:
parent
855862bae6
commit
340ae104fd
11 changed files with 709 additions and 158 deletions
|
|
@ -1,11 +1,17 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
import path from 'path'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default {
|
||||
main: defineConfig({}),
|
||||
preload: defineConfig({}),
|
||||
renderer: defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
$lib: path.resolve('./src/lib')
|
||||
}
|
||||
},
|
||||
plugins: [svelte()]
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue