From the documentation, I tried all options similar to what I need:
export default defineNuxtConfig({ build: { baseURL: '/myProject', workspaceDir: '/myProject', rootDir: '/myProject' } })
has no effect. In myProject/.output/public/index.html
I still see
, I get 404 console error: Get http://127.0.0.1/_nuxt/entry.4419fff1.js Network::ERR_ABORTED 404 (not found)
Any idea how to make it work?
You can now run
yarn Preview
(or anything for that matter, check yourpackage.json
,scripts
sections) to see how it looks.As explained here: https://stackoverflow.com/a/72103370/8816585