Initial commit
This commit is contained in:
commit
7b9f81dd64
20 changed files with 2789 additions and 0 deletions
17
vite.config.js
Normal file
17
vite.config.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { defineConfig } from "vite"
|
||||
import react from "@vitejs/plugin-react"
|
||||
import path from "path"
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
config: path.resolve(__dirname, "/src/config.json"),
|
||||
styles: path.resolve(__dirname, "/src/styles"),
|
||||
components: path.resolve(__dirname, "/src/components"),
|
||||
hooks: path.resolve(__dirname, "/src/hooks"),
|
||||
contexts: path.resolve(__dirname, "/src/contexts"),
|
||||
pages: path.resolve(__dirname, "/src/pages"),
|
||||
},
|
||||
},
|
||||
})
|
Reference in a new issue