A
A
Arioch2019-08-09 10:34:04
Vue.js
Arioch, 2019-08-09 10:34:04

I connect Quasar to Nuxt as a plugin - icons are not displayed in QBtn, what should I do?

I connect like this:
plugins/quasar.js

import Vue from 'vue';
import "quasar/dist/quasar.css";

import Quasar, { QBtn } from "quasar";
Vue.use(Quasar, { components: [QBtn] });

pages/index.vue
<template>
  <div class="container">
    <q-btn color="primary" icon="mail" label="On Left" />
  </div>
</template>

I have already tried everything with icons, from here: https://quasar.dev/options/quasar-icon-sets#Vue-CLI-Way and from here: https://quasar.dev/options/quasar-icon-sets# Quasar ... and also poked for two hours - to no avail.
Tell me what's wrong please.
//specially put a clean install of Quasar - the icons there work without any settings at all...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question