New issue
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
nuxt3-rc generate and url is not relative Url #13780
Comments
You can either run:
Or set it in your nuxt config: import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
app: {
baseURL: process.env.NODE_ENV === 'production' ? './' : '/'
}
}) Does that solve your issue? |
thanks I generate success....
chrome Can't referer because of "cross-origin"
|
That sounds like an issue with your hosting rather than Nuxt. Would you provide a reproduction? |
thank u for reply... I update the repo.. |
I just open the index.html file in finder... |
Would you try with the latest version, currently 3.0.0-rc.2-27530596.a862a67? (A related issue was resolved in nuxt/framework#4844.) |
I try again and find some files is done ,but three files is also cros error. cros error:
done and success files like ...
|
Environment
Nuxt CLI v3.0.0-rc.0-27508091.78fcbcf 10:48:08
RootDir: /Users/mac/.webcode/gin-nuxt/web 10:48:11
Nuxt project info: 10:48:11
Darwin
v16.14.0
3.0.0-rc.0-27508091.78fcbcf
npm@8.5.4
vite
meta
,ssr
,buildModules
,css
,components
,publicRuntimeConfig
,experimental
,vite
,build
-
@vueuse/nuxt@7.7.1
,@pinia/nuxt@0.1.8
Reproduction
all
Describe the bug
I run
npm run generate .
But I get path
/
I wish It is
./
Additional context
no
Logs
The text was updated successfully, but these errors were encountered: