1๐
โ
A module
will be available globally, a buildModule
will be compiled at build time and available globally too.
You will need several things to maybe make it work:
- use the old syntax like
import Vuetify from ...
- add it to the
layouts/admin.vue
file only - add the related CSS style there too (not sure if the CSS is tree-shakable there)
Meanwhile, since you do plan probably plan to have an admin dashboard separated from the main app, I think the best idea is to split the apps directly and maybe manage it through API calls or a headless CMS. But so far, Iโm not sure that there is an easy solution here.
Source:stackexchange.com