diff options
author | crupest <crupest@outlook.com> | 2021-06-15 15:02:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-15 15:02:49 +0800 |
commit | e0b766203d7576ab67b16ba556ba14120d0bc876 (patch) | |
tree | dfeee6d463ecf411daf0a34db0c160a71502cbd9 /FrontEnd/vite.config.js | |
parent | 47587812b809fee2a95c76266d9d0e42fc4ac1ca (diff) | |
download | timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.tar.gz timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.tar.bz2 timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.zip |
...
Diffstat (limited to 'FrontEnd/vite.config.js')
-rw-r--r-- | FrontEnd/vite.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FrontEnd/vite.config.js b/FrontEnd/vite.config.js index 6e8cde1b..2e85c36a 100644 --- a/FrontEnd/vite.config.js +++ b/FrontEnd/vite.config.js @@ -7,6 +7,9 @@ import { defineConfig } from "vite"; export default defineConfig({
plugins: [reactRefresh()],
+ resolve: {
+ alias: [{ find: "@", replacement: "/src" }],
+ },
server: {
port: 13000,
proxy: {
|