I am using quasar framework for making my website responsive #10119
-
Hi, Here I am using quasar framework for making my ecommerce website responsive like in "mobile and tablet". Here I am using
In all the divs I am using like..
In body section I am using this
And also I have used this
But this is not affecting to my site. So please tell me where I am going wrong. In mobile responsive it is not working |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, You have div id="q-quasar" and app.mount('#q-app')... it'not same id. |
Beta Was this translation helpful? Give feedback.
-
A couple of things:
|
Beta Was this translation helpful? Give feedback.
A couple of things:
Change
quasar@2.0.3
to justquasar@2
so you always get the latest bug fixes for Quasar v2 (just the same way you havevue@3
)const app = Vue.createApp()
If you have no code here, then don't add and return an empty
setup()
functionapp.use(Quasar, { config: {} })
You need to fill in the config sections: https://quasar.dev/start/umd#quasar-config-object
Using this:
app.mount('#q-app')
is correct, but your html is not. The correct way is:<div id="q-app" ...