upgrade to rc10,page styles cannot use in another page
See original GitHub issueEnvironment
- Operating System:
Windows_NT
- Node Version:
v16.16.0
- Nuxt Version:
3.0.0-rc.9
- Nitro Version:
0.5.3
- Package Manager:
npm@8.6.0
- Builder:
vite
- User Config:
builder
,experimental
,runtimeConfig
,css
,app
,nitro
- Runtime Modules:
-
- Build Modules:
-
Reproduction
rc8 : https://stackblitz.com/edit/github-crzvsj?file=nuxt.config.ts,app.vue rc10: https://stackblitz.com/edit/github-vuepdp?file=pages%2FpageB.vue,pages%2FpageA.vue,pages%2Findex.vue
Describe the bug
under rc8 i can use pageA style on pageB,but under rc10 can not . it seemed before rc9 page and compoent preload everywhere. is there any way to use style cross page?
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
phpBB • [ABD] phpBB Arcade 1.0.RC10 - Page 382
I do not find any update info for templates or root in RC2,RC3,RC4 Thanks. Title: phpBB Arcade ... phpBB Arcade - prosilver style...
Read more >The Net's Largest Vintage R/C Community - RC10Talk
You can use different screws and nuts, different turnbuckles, bell cranks, etc. The car can be completely different in wheelbase.
Read more >Import goes down to RC10 - Page 2 - CamaroZ28.Com Message ...
I have a .25cc nitro quake Since I put a 3 shoe race clutch and thunder quake tires and wheels not much can...
Read more >2010 Upz Rc10 - Page 3 - Hardboot Reviews
And these work on the principles similar to that of setting preload ... a great boot and the warmest "ski boot style boot"...
Read more >Mid life crisis car (RC10) - Page 2 - AR15.COM
Is it possible to find the gear sets to build the Stealth tranny still? If so I could likely build up a fun...
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
For now, you can workaround by setting
experimental.inlineSSRStyles
to false.I’m closing this issue as pages shouldn’t rely on styles defined in other pages - they are meant to be separate.
@g4w3l if you get a chance, I’d be very grateful of that new issue + reproduction…
IMO the approach as shown in the example is incorrect and insecure.
If you have global styles keep them separate and load in
nuxt.config.ts
:If you have some shared styles for page layout – create a component-wrapper with slots (or use layouts) and put styles inside.