1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-next-less/pages/index.js
2018-05-29 10:37:03 +02:00

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>
*/