Describe the bug
Missing config in vite.config.ts causes start page to not load on new solid app. I was able to fix this by adding fs: { allow: ['../..'], }, inside the server section of vite.config.ts.
To Reproduce
Setup a solid app in a nx integrated monorepo, using pnpm.
Serve the app and attempt to view the start page.
Expected behavior
You can view the start page.
Additional context
Blank page in browser with this console error: The request url "/monoreporoot/apps/app/src/index.tsx" is outside of Vite serving allow list.
Describe the bug Missing config in
vite.config.ts
causes start page to not load on new solid app. I was able to fix this by addingfs: { allow: ['../..'], },
inside theserver
section ofvite.config.ts
.To Reproduce
Expected behavior You can view the start page.
Additional context Blank page in browser with this console error:
The request url "/monoreporoot/apps/app/src/index.tsx" is outside of Vite serving allow list.