Maiquu / nuxt-quasar

Quasar Module for Nuxt (Unofficial)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example required set default configuration for Notify plugin

prashantnirgun opened this issue · comments

Describe the feature

I want to set default configuration for Notify plugin. I tried following but didn't work in nuxt.config.ts some bootfile or nuxt plugin to set the default configuration.

 quasar: {
    plugins: [
      ["Notify", { position: "top-right", timeout: 2500 }],
    ],

Additional information

  • Would you be willing to help implement this feature?
  • Does this feature have a potential to break existing features?

You can configure plugins via the config key. For example:

export default defineNuxtConfig({
  quasar: {
    plugins: ['Notify'],
    config: {
      notify: {
        position: 'top-right',
      }
    }
  }
})