Open venil7 opened 8 years ago
@venil7 Doesn't Angular have it's own CLI?
not AFAIK, it just seems like quik is very react
centric, while it would be nice if it was library agnostic and be used with any es6 project. or maybe a plugin system, so that any transpiler, like TypeScript can be plugged in..
@venil7 I surely want to add other things. Will need to make the React bit rock solid, and have a plugin system to extend the webpack config. Wanna help?
BTW there are two ways to extend quik
,
yes, but i thought that the main idea was to have it zero-setup so maybe if option 1 was included out of the box
@venil7 Yeah. But the reason I want to add a plugin system is so support for new things can be added easily. Fo example, right now, to add typescript support, you've to change files in 3 places, the webpack config, the middleware which handles JS and the middleware which handles hot reload. It'll be better to have those changes self-contained in one file.
Also, people will not need to fork it if they want a slightly different feature set. They can just add something on top of it and publish as a separate module.
BTW I spent some time yesterday night trying to add typescript. The problem I faced was that the ts-loder was trying to require modules from current directory and not quik's node_modules directory. Once I sort it out, I'll add typescript. Help is welcome.
yeah, i agree on the plugin system, as long as they are installable via npm
automatic compilation of TypeScript files?