mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
10 lines
250 B
JavaScript
10 lines
250 B
JavaScript
|
// Without CSS Modules
|
||
|
import '../style.less'
|
||
|
export default () => <div className='example'>Hello Less!</div>
|
||
|
|
||
|
// With CSS Modules
|
||
|
/*
|
||
|
import style from '../style.less'
|
||
|
export default () => <div className={style.example}>Hello Less!</div>
|
||
|
*/
|