2

main.js

import Vuex from "vuex"
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'
import store from "./store"
import drizzleVuePlugin from "@drizzle/vue-plugin"
import drizzleOptions from "./drizzleOptions"


const app = createApp(App)
app.use( Vue, Vuex, store,drizzleVuePlugin, { store, drizzleOptions })
app.mount('#app')

Im using VueJS 3. Im getting this in my terminal:

"export 'default' (imported as 'Vue') was not found in 'vue'

How do I fix this?

1 Answer 1

5

I'm not sure but I used these codes and they worked.

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

const app = createApp(App)
app.use(store)
app.use(router)
app.mount('#app')
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.