Quasar in a Webpack Build?
-
Has anyone gotten quasar to work in a stock webpack configuration, i.e. not using the quasar or vue cli?
-
I’m trying to do that to embed Quasar in a Ruby On Rails app.
I don’t want the UMD mode (I don’t want to rely on a external CDN or something like that).
Coming from Vuetify, It’s pretty hard to understand how to use Quasar directly with webpack. -
Answered on Discord.
https://discordapp.com/channels/415874313728688138/596276240260923392/635522921934356512
Scott
-
Is the link above still available, it doesn’t seem to work?
-
I think it died.
-
Or not …:) It took a long time to load … It seems to be there.
-
It says I don’t have access to any text channels, or there are none on this server, do I need to subscribe or something to get access?
-
You need to register for Discord.
Also, the suggestion/ answer on Discord in the end was to just use Quasar’s CLI to develop the front-end and have the webserver serve the built files. Easy peasy.
If you are looking to run your own webpack setup, you are missing out on all the work already done within Quasar for you and the big question is then, why are you needing it outside in your own webpack setup? What are you doing, that Quasar can’t?
If you are using Vue separately, then use Quasar as a Vue plugin.
https://quasar.dev/start/vue-cli-plugin
Scott