Open LakshSingla opened 5 years ago
@Nikhil-Vats is this is relevant now?
Yes, this is still relevant.
One part of the issue is solved (see PR above) -
On the examples, the class of the component one creates is not added to the examples component. Hence the custom styles are not.
The rest are still relevant.
(NOTE: This issue can be broken down into many different interconnected issues, but for sake of keeping things simple, I have jotted down what all I felt was wrong here) I was trying to setup a development server. But it took me a while to figure out the following things-
less
first. Only thenbuild
orstart
will be successful.Since
less
is not added to thewebpack.config.js
thus in case someone has changed his styes, he or she will have to runless
again.dev
server is being used, instead of the one being provided by webpack. The webpack one automatically refreshes the webpage and in some browsers also clears the cache (last time I used it). It will help in cleaning the directory of files which the developer doesn't need. One optimal solution includes updating thewebpack.config.js
to includeless
andserve
tasks.(Somewhat unrelated)