import Vue from 'vue';
import VuetifyDRF from 'vuetify-drf-forms';
export default ({store}) => {
Vue.use(VuetifyDRF, {store});
};
...
plugins: [
...
{src: '~plugins/vuetify_drf_forms', mode: 'client'}
],
import CForm from 'vuetify-drf-forms/src/components/CForm.vue';
const endpoint = 'API ENDPOINT';
export default {
mixins: [CForm],
data() {
return {
endpoint,
...
}
...
}