mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-30 09:58:13 +00:00
fixes
This commit is contained in:
@@ -9,10 +9,19 @@ export default defineConfig({
|
|||||||
// its built-in default.
|
// its built-in default.
|
||||||
envDir: '../../',
|
envDir: '../../',
|
||||||
cacheDir: '../../node_modules/.vite/apps/backoffice',
|
cacheDir: '../../node_modules/.vite/apps/backoffice',
|
||||||
|
// server: {
|
||||||
|
// port: 4201,
|
||||||
|
// host: 'localhost',
|
||||||
|
// },
|
||||||
server: {
|
server: {
|
||||||
port: 4201,
|
port: 4201,
|
||||||
host: 'localhost',
|
proxy: {
|
||||||
|
'/api': {
|
||||||
|
target: 'http://localhost:3000', // change from 'https://ema-api-dev.triaplc.com'
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
preview: { port: 4201, host: 'localhost' },
|
preview: { port: 4201, host: 'localhost' },
|
||||||
plugins: [react(), nxViteTsPaths()],
|
plugins: [react(), nxViteTsPaths()],
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|||||||
Reference in New Issue
Block a user