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

10 lines
250 B
JavaScript
Raw Normal View History

2018-05-29 08:37:03 +00:00
// 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>
*/