Start on Vue 3 changes
This commit is contained in:
parent
dcc4784bfd
commit
c913a40e18
35 changed files with 3570 additions and 1913 deletions
|
|
@ -1,7 +1,4 @@
|
|||
import Vue from 'vue'
|
||||
import VueI18n from 'vue-i18n'
|
||||
|
||||
Vue.use(VueI18n)
|
||||
import { createI18n } from 'vue-i18n'
|
||||
|
||||
var messages = {}
|
||||
|
||||
|
|
@ -13,9 +10,10 @@ Object.keys(modules).map(path => {
|
|||
messages[locale] = modules[path];
|
||||
});
|
||||
|
||||
const vue18n = new VueI18n({
|
||||
const vue18n = new createI18n({
|
||||
locale: 'en',
|
||||
fallbackLocale: 'en',
|
||||
globalInjection: true,
|
||||
silentFallbackWarn: true,
|
||||
messages: messages,
|
||||
pluralizationRules: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import Vue from 'vue';
|
||||
import Vuetify from 'vuetify/lib';
|
||||
import {createVuetify } from "vuetify";
|
||||
|
||||
// Import all .vue icons and process them, so they can be used
|
||||
// as $vuetify.icons.<iconname>
|
||||
|
|
@ -12,11 +11,8 @@ Object.keys(modules).map(path => {
|
|||
icons[iconName] = { component: modules[path].default }
|
||||
});
|
||||
|
||||
|
||||
Vue.use(Vuetify);
|
||||
|
||||
export default function(ignoredconfig) {
|
||||
return new Vuetify({
|
||||
return createVuetify({
|
||||
icons: {
|
||||
iconfont: 'md',
|
||||
values: icons,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue