mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? * order of CSS between layout and page * order of CSS between page and next/dynamic ### Why? ### How? * overrides webpack CSS chunk loading to use react CSS loading to allow them to share the order
12 lines
270 B
TypeScript
12 lines
270 B
TypeScript
import './global.css'
|
|
import base from './base.module.css'
|
|
import styles from './component.module.css'
|
|
|
|
export default function Component() {
|
|
return (
|
|
<p id="component" className={`global-class ${base.class} ${styles.class}`}>
|
|
Hello Component
|
|
</p>
|
|
)
|
|
}
|