Thank you very much
Latest posts made by geoffreylzf
-
RE: Api Proxy for production
@qyloxe
Hi thx for your answer, then I would like to ask where should I define the base url in quasar app for production? -
Api Proxy for production
Hi all,
According to the doc Api Proxy, this api proxy only work for development environment. But what if I need to use in production too?I found out on setting the production url on this doc, the problem is that all my axios instance already wrote with api word as start
this.$axios.get('/api/something/new')
,I wouldnt want to rewrite all the axios like
this.$axios.get(process.env.API+'/api/something/new')
I got search github and this forum about proxy, but almost all are refer old quasar.
-
Install to project as pure css framework
Hi all, is there any way to install quasar to Nuxt as pure css framework (like Vuetify, vbootstrap or Element ui)?
I got try the following to install.
npm install quasar
in plugin and styl before nuxt load
import Vue from 'vue' import Quasar from 'quasar/dist/quasar.esm.js' Vue.use(Quasar)
@require '~quasar/dist/quasar.styl'
but it the outcome is failed with error “cannot read property platform of undefined”
I really like the rich ui components offer by quasar as compare to other css option (vuetify, vbootstrap and elementui), but I prefer Nuxt as my frontend framework due to its simplicity (auth module, page folder structure as route and etc)