We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc64af8 + b550b63 commit e34088bCopy full SHA for e34088b
packages/plugin-rsc/examples/basic/src/server.tsx
@@ -10,6 +10,7 @@ export default async function handler(request: Request): Promise<Response> {
10
const nonceMeta = nonce && <meta property="csp-nonce" nonce={nonce} />
11
const root = (
12
<>
13
+ {/* this `loadCss` only collects `styles.css` but not css inside dynamic import `root.tsx` */}
14
{import.meta.viteRsc.loadCss()}
15
{nonceMeta}
16
<Root url={url} />
0 commit comments