[Vuejs]-How to troubleshoot 400 Axios errors in NodeJS / Nuxt / VueJS app on the web server?

0👍

Hoping this will assist others. Solved the issue on my end by making environment variables accessible under store/index.js using dotenv, for some reason ‘process.env.VAR_NAME’ wasn’t readable.

https://levelup.gitconnected.com/what-are-env-files-and-how-to-use-them-in-nuxt-7f194f083e3d

Leave a comment