Integrate React frontend with backend API
This commit is contained in:
@@ -18,6 +18,11 @@ export default defineConfig(({ mode }) => {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, '.'),
|
||||
}
|
||||
},
|
||||
base: '/',
|
||||
build: {
|
||||
outDir: path.resolve(__dirname, '../app/static/frontend'),
|
||||
emptyOutDir: true,
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user