mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This takes the `layerAssets` property from the previous PR and actually renders it, replacing the previous style handling. This ensures that when multiple page segments are rendered on screen, all of their associated CSS files are loaded. The existing `findHeadInCache` method only ever returns a single head node, which means it’d miss stylesheets. Fixes #59308 Fixes #63465
10 lines
158 B
TypeScript
10 lines
158 B
TypeScript
import styles from './style.module.css'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div className={styles.bgRed} id="slot">
|
|
Slot
|
|
</div>
|
|
)
|
|
}
|