[Vuejs]-How to use vuetify a-la-carte with laravel-mix?

0👍

So i assume you have did npm run production but your voyager.js not minified?

Afaik in mix, Minification will only take place during production builds (npm run production).

0👍

Is it possible that you are still importing the main library from Vuetify in your voyager.js file?
Like this:

import Vuetify from 'vuetify';

If you want to use the LoaderPlugin you have to make sure that you import Vuetify from the lib folder as follows:

import Vuetify from 'vuetify/lib';

Note the /lib suffix.

Leave a comment