nuxt-quasar is a Nuxt.js module to integrate the Quasar Framework into an existing (or new) Nuxt
application. It was built as for existing Nuxt apps, the only way to integrate Quasar was through the UMD build,
or by creating your own custom plugin if you wanted things like Tree Shaking, but even if you’re not concerned with
your bundle size, there are a lot features that come with using Quasar CLI or Vue CLI that are unavailable to the UMD
build (like automatically importing stylus variables, easier configuration, etc…). Ideally, I’d be able to just switch the
Nuxt apps to Quasar CLI and call it a day, but in addition to updating all the code to use Quasar components, it would
also require restructuring the entire project, which just sounds like a good way to break everything all at once.
I wanted a way to slowly integrate Quasar into the app, using the same configurations/methods as a Quasar CLI app,
that way when the day comes to move from Nuxt to Quasar CLI, it should just be as easy as moving the files to the right place
as all the code will be updated, and all the configuration is valid Quasar CLI config.
And that’s what this module aims to do.
nuxt-quasar supports a subset of the
quasar.conf.js file (you can either embed this config in your
nuxt.config.js under the
or just use a
The currently supported config options
Let me know if you have any feedback/questions/bugs/etc.