mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-12-01 20:36:28 -05:00
tree shake vuetify imports to minimise bundle size
This commit is contained in:
parent
178cfde6c8
commit
b8725350c6
4 changed files with 45 additions and 9 deletions
|
|
@ -10,12 +10,7 @@ import App from './components/App.vue';
|
|||
// init vuetify
|
||||
import 'vuetify/styles';
|
||||
import { createVuetify } from 'vuetify';
|
||||
import * as components from 'vuetify/components';
|
||||
import * as directives from 'vuetify/directives';
|
||||
const vuetify = createVuetify({
|
||||
components,
|
||||
directives,
|
||||
})
|
||||
const vuetify = createVuetify();
|
||||
|
||||
// provide axios globally
|
||||
window.axios = axios;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue