Skip to content

Commit

Permalink
refactor(main): use createApp Vue 3 API
Browse files Browse the repository at this point in the history
Global Vue is not available in Vue 3. This commit imports the new
`createApp` method and uses it to initialize the vue app.
  • Loading branch information
luqven committed Apr 20, 2021
1 parent c501488 commit 76ffcf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import VueImgix from '@/plugins/vue-imgix';
import Vue from 'vue';
import {createApp} from 'vue';
import App from './App.vue';

const app = Vue.createApp(App);
const app = createApp(App);

app.use(
VueImgix, {
Expand Down

0 comments on commit 76ffcf8

Please sign in to comment.