We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the following settings in nuxt.config.ts.
axios: { proxy: true }, proxy: { '/api/': { target: 'https://hoge.co.jp/v1/', changeOrigin: true }, }
Call the API in the following way.
await axios.get( '/api/xxx )
With such a configuration, I did yarn dev and it works fine on localhost.
yarn dev
However, when I deploy the yarn generate on AWS, it does not work properly.
yarn generate
Also, it doesn't work properly on local PC with yarn generate + yarn start.
yarn start
Is there a problem with the configuration?
The text was updated successfully, but these errors were encountered:
I believe this ticket should be closed! yarn generate does not work here as the README states ...
Sorry, something went wrong.
No branches or pull requests
I have the following settings in nuxt.config.ts.
Call the API in the following way.
await axios.get(
'/api/xxx
)
With such a configuration, I did
yarn dev
and it works fine on localhost.However, when I deploy the
yarn generate
on AWS, it does not work properly.Also, it doesn't work properly on local PC with
yarn generate
+yarn start
.Is there a problem with the configuration?
The text was updated successfully, but these errors were encountered: