const config = {
env: {
HOST: process.env.HOST || '',
}
}
export default config;
{
"scripts": {
"dev": "dotenv -- nuxt",
"build": "dotenv -- nuxt build",
"start": "dotenv -- nuxt start",
"generate": "dotenv -- nuxt generate"
},
"devDependencies": {
"dotenv-cli": "^3.1.0"
}
}
API_URL=https://localhost:8000/api/v1.1/