mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* Ensure all CSS files are included for experimental critical CSS * remove extra import
20 lines
328 B
JavaScript
20 lines
328 B
JavaScript
import styles from '../styles/index.module.css'
|
|
import Hello from '../components/hello'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div className={styles.hello}>
|
|
<p>Hello World</p>
|
|
<Hello />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export const getServerSideProps = () => {
|
|
return {
|
|
props: {
|
|
hello: 'world',
|
|
},
|
|
}
|
|
}
|