invictus-codes / nuxt-vuetify

Add Vuetify 3 to your Nuxt application in seconds.
MIT License
71 stars 9 forks source link

[Bug]: blueprint option not working #10

Open iamsurelydaveydave opened 1 year ago

iamsurelydaveydave commented 1 year ago

Contact Details

davidbaldonado0811@gmail.com

What happened?

I tried using blueprint: 'md2' but it was not working.

Version

1.0.2 (Default)

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Additional context

No response

szappino commented 1 year ago

The usage is a bit different from the official vuetify documentation:

first you need to import the blueprint in your nuxt.config.ts :


import { md3 } from 'vuetify/blueprints'

then you can use the blueprint adding it in vuetifyOptions


vuetify: {
        /* vuetify options */
        vuetifyOptions: {
            blueprint: md3,
        },

        moduleOptions: {
            /* nuxt-vuetify module options */
        }

@jvhellemondt maybe it's worth including it in the documentation alongside the other options.

jvhellemondt commented 1 year ago

Definitely! Busy times here, so if that cools down I'll include it.

Thank you for providing the answer!

iamsurelydaveydave commented 1 year ago

The usage is a bit different from the official vuetify documentation:

first you need to import the blueprint in your nuxt.config.ts :

import { md3 } from 'vuetify/blueprints'

then you can use the blueprint adding it in vuetifyOptions

vuetify: {
        /* vuetify options */
        vuetifyOptions: {
            blueprint: md3,
        },

        moduleOptions: {
            /* nuxt-vuetify module options */
        }

@jvhellemondt maybe it's worth including it in the documentation alongside the other options.

Thank you!

mubaidr commented 11 months ago

Does this mean Blue Prints are supported, so documentation needs to be updated here: https://github.com/invictus-codes/nuxt-vuetify?tab=readme-ov-file#features-not-yet-supported