nuxt3-rc generate and url is not relative Url
See original GitHub issueEnvironment
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
- Operating System:
Darwin
- Node Version:
v16.14.0
- Nuxt Version:
3.0.0-rc.0-27508091.78fcbcf
- Package Manager:
npm@8.5.4
- Builder:
vite
- User Config:
meta
,ssr
,buildModules
,css
,components
,publicRuntimeConfig
,experimental
,vite
,build
- Runtime Modules:
-
- Build Modules:
@vueuse/nuxt@7.7.1
,@pinia/nuxt@0.1.8
Reproduction
all
Describe the bug
<head >
<link rel="stylesheet" href="/_nuxt/entry.cabc84ae.css">
</head>
I run npm run generate .
But I get path /
I wish It is ./
Additional context
no
Logs
no
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Nuxt.js static site relative urls - Stack Overflow
The web app has been generated. Deploying to netfify isn't an option for me. This is a local webapp, it is not meant...
Read more >Creating Redirects With Nuxt - Josh Deltener
This template uses a library called url-parse which makes chopping relative urls easy (since Node's native URL lib doesn't support them). import Url...
Read more >[Solved]-Nuxt.js static site relative urls-Vue.js
Coding example for the question Nuxt.js static site relative urls-Vue.js. ... Full static Nuxt do not require any server indeed.
Read more >Why are dynamic Link not relative to the current path : r/nextjs
Hello. I have a page located in pages/courses/[slug]/index.js so its route is /course/1 , and I have Links components in that page that ......
Read more >Assets directory - Nuxt
Inside your vue templates, if you need to link to your assets directory use ... In case you want to use sass make...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can either run:
Or set it in your nuxt config:
Does that solve your issue?
I try again and find some files is done ,but three files is also cros error.
cros error:
done and success files like …