react-starter-kit icon indicating copy to clipboard operation
react-starter-kit copied to clipboard

configure webpack for less

Open gauravprwl14 opened this issue 10 years ago • 3 comments

hi, i want to use less for styling the component. i am facing problem in configuring the less in the webpack. i am working in feature/bootstrap3 branch. i would be great if you can give one example how to use less styling in the header component.

i tired adding less configuration in the modules loader inside webpack configuration file but it didn't work out. below is the code which i added in the webapck configuration file { test: /\.less$/, loaders: [ 'isomorphic-style-loader', css-loader?${JSON.stringify({ sourceMap: DEBUG, minimize: !DEBUG })}, 'postcss-loader?pack=less', 'less-loader', ], }

gauravprwl14 avatar Oct 14 '16 06:10 gauravprwl14

@gauravprwl14 any update on this? I tried to configuring less css with this starter kit but its not working yet. If you have any working example please share with us. Thank you in advance

nisargrthakkar avatar Jul 17 '18 04:07 nisargrthakkar

how to resolve it ?

TristanDongMaster avatar Oct 18 '18 09:10 TristanDongMaster

@gauravprwl14 thank you very much for crating this issue! Unfortunately, we have close it due to inactivity. Feel free to re-open it or join our Discord channel for discussion.

NOTE: The main branch has been updated with React Starter Kit v2, using JAM-style architecture.

ulani avatar May 27 '21 20:05 ulani