Adding dependencies to preview components
Now that we have our wrapper component above the preview component, we can add global dependencies which the preview component can access.
So let's begin by adding Vuetify which we can do by copying the Vuetify imports from the main.js file.
We can now paste this at the top of our wrapper component factory file. We'll also import Vue at the top by going
import Vue from "vue";.
Click to load comments...