Commit e7f313a3 authored by Jean Rabreau's avatar Jean Rabreau
Browse files

install&config local unistra-formbuilder

parent 69a70e06
This diff is collapsed.
......@@ -2,9 +2,12 @@ import Vue from 'vue'
import App from './app.vue'
import router from './router'
import authority from '@/assets/authAxios'
import store from './store'
import vuetify from './plugins/vuetify'
import i18n from './plugins/vue-i18n'
import './plugins/unistra-formbuilder'
import * as Sentry from '@sentry/browser'
import * as Integrations from '@sentry/integrations'
import '@/components'
......
import Vue from 'vue';
import Vue from 'vue'
// import from vuetify/lib to take advantage of a-la-carte components
// objective: reduce build size in production.
// see documentation: https://vuetifyjs.com/fr-FR/customization/a-la-carte/
import Vuetify from 'vuetify/lib';
import Vuetify, { VCard } from 'vuetify/lib'
import Ripple from 'vuetify/lib/directives/ripple/index'
Vue.use(Vuetify);
Vue.use(Vuetify, {
components: {
VCard,
},
directives: {
Ripple
}
})
export const config = {
theme: {
......
const path = require('path')
module.exports = {
publicPath: '/',
transpileDependencies: [
'vuetify'
'vuetify',
'@vue-unistra/unistra-formbuilder'
],
chainWebpack: (config) => {
if (process.env.NODE_ENV === 'test') {
......@@ -18,4 +21,13 @@ module.exports = {
// module.exports.devtool = 'inline-cheap-module-source-map'
}
},
configureWebpack: {
resolve: {
symlinks: false,
alias: {
'vue$': path.resolve(__dirname, './node_modules/vue/dist/vue.esm.js'),
'^vuetify': path.resolve(__dirname, './node_modules/vuetify'),
}
}
}
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment