Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import not work in main.js #38

Open
islamyearul opened this issue Apr 12, 2023 · 0 comments
Open

Import not work in main.js #38

islamyearul opened this issue Apr 12, 2023 · 0 comments

Comments

@islamyearul
Copy link

In my Vue project toaster import give error in main.js

the error is:
http://127.0.0.1:5173/node_modules/.vite/deps/@meforma_vue-toaster.js?v=5508a788 net::ERR_ABORTED 504 (Outdated Optimize Dep)

My main.js file is

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import './assets/main.css'
import axios from 'axios'
import Toaster from '@meforma/vue-toaster';
const app = createApp(App)
app.use(createPinia())
app.use(router, axios,Toaster)
app.mount('#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant