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.
1 parent 87319bf commit b550b63Copy full SHA for b550b63
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