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

The requested module '/node_modules/.vite/vue.js?v=6e305727' does not provide an export named 'default' #4

Closed
myomyintaung1411 opened this issue Dec 20, 2021 · 2 comments

Comments

@myomyintaung1411
Copy link

when using Axios intercept request and response-interceptors api request like below

import network from './request.js'
export const UserLogin = (data) => {
return network({
url: '/opt',
method: 'post',
data
})
}

@vikdiesel
Copy link
Contributor

We need more information. Where did you put that code?

@myomyintaung1411
Copy link
Author

when using Axios intercept request and response-interceptors api request like below

import network from './request.js' export const UserLogin = (data) => { return network({ url: '/opt', method: 'post', data }) }

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

2 participants