We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
best I can see is to update the publicpath in the build in nuxt.config.js
build: { extractCSS: true, //publicPath: 'PATHPREFIXTOREPLACE/_nuxt',
but this is causing a bunch of path issues for me still w/ a duplicate. e.g. public path 2x for somereason when manually updated.
Sorry, something went wrong.
@lastlink Faced the same issue. How I worked it around:
First add this to nuxt.config.js
router: { base: process.env.ENV_SUB_PATH || '/' }
and
build: { publicPath: (process.env.ENV_SUB_PATH || '/') + '_nuxt' },
Then define ENV_SUB_PATH as /$CI_PROJECT_NAME/ within your ci/cd variables or pipeline
And then everywhere where its not root (has subdomains) you can do the same movements as here .
No branches or pull requests
examples
The text was updated successfully, but these errors were encountered: