why can't import component instead of modify config
Quasar is so alwsome ! But I have some confusions on it.
For many frameworks , we can use them just “import [component name]” to reference them, why we have to modify the config file to make the components available?
And for the demos on http://quasar-framework.org/components/ , I think if we can view and modify the source code on the virtual phone it will be much nicer than going to github.
a47ae last edited by
It is to simplify the build setup. You can totally import them (thats what the config is doing in the background).
But any reason why you want to import them?
Modifying the source on the showcase is currently not possible because it would require a build step.
But you can try stuff on JSFiddle: https://jsfiddle.net/rstoenescu/waugrryy/
you can import all components in the config for development and run a terminal command to find components you have used in your project that way you can add them after dev has done