3👍
You will need to import the main quasar sass files using
@import "~quasar/dist/quasar.sass";
And the rest will then work as you want
- [Vuejs]-How to convert timestamp, depends on user timezone?
- [Vuejs]-Async/await axios in external file
0👍
- For static classes, please use class property without a dot:
<q-card class="customclass"></q-card>
- Usually Quasar components have a few built-in styling properties.
In your case, please try "flat" attribute – this will remove the shadow for QCard component:
<q-card flat>
a QCard component without shadow
</q-card>
- If you still need to use certain Quasar SCSS classes, please attach them
in your template as static or dynamic classes:
<q-card class="customclass no-shadow">
static classes
</q-card>
<q-card :class="{ 'no-shadow': isActive }">
dynamic classes
</q-card>
<q-card :class="['customclass', { 'no-shadow': isActive }]">
static + dynamic classes
</q-card>
- Extending SCSS styles with Quasar SCSS mixins seems to be impossible at this moment.
I found a few feature requests for it, but both were closed.
Source:stackexchange.com