Skip to content

Commit 205f2ab

Browse files
committed
Remove .env
1 parent e81a010 commit 205f2ab

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

web/nuxt.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import colors from 'vuetify/es5/util/colors'
2-
require('dotenv').config()
32

43
export default {
54
// Target: https://go.nuxtjs.dev/config-target
@@ -44,6 +43,8 @@ export default {
4443
modules: [
4544
// https://go.nuxtjs.dev/axios
4645
'@nuxtjs/axios',
46+
// Simple usage
47+
'@nuxtjs/dotenv',
4748
],
4849

4950
// Axios module configuration: https://go.nuxtjs.dev/config-axios

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"dependencies": {
2323
"@nuxtjs/axios": "^5.13.6",
24+
"@nuxtjs/dotenv": "^1.4.1",
2425
"core-js": "^3.19.3",
2526
"dotenv": "^16.0.1",
2627
"nuxt": "^2.15.8",

web/yarn.lock

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,6 +1783,14 @@
17831783
consola "^2.15.3"
17841784
defu "^5.0.0"
17851785

1786+
"@nuxtjs/dotenv@^1.4.1":
1787+
version "1.4.1"
1788+
resolved "https://registry.yarnpkg.com/@nuxtjs/dotenv/-/dotenv-1.4.1.tgz#dd5abb98e22cc7ae27139d3aa606151034293128"
1789+
integrity sha512-DpdObsvRwC8d89I9mzz6pBg6e/PEXHazDM57DOI1mmML2ZjHfQ/DvkjlSzUL7T+TnW3b/a4Ks5wQx08DqFBmeQ==
1790+
dependencies:
1791+
consola "^2.10.1"
1792+
dotenv "^8.1.0"
1793+
17861794
"@nuxtjs/eslint-config-typescript@^8.0.0":
17871795
version "8.0.0"
17881796
resolved "https://registry.yarnpkg.com/@nuxtjs/eslint-config-typescript/-/eslint-config-typescript-8.0.0.tgz#dd178386e4243874fa95464f8fce25ee9d66bf7a"
@@ -4003,7 +4011,7 @@ connect@^3.7.0:
40034011
parseurl "~1.3.3"
40044012
utils-merge "1.0.1"
40054013

4006-
consola@^2.10.0, consola@^2.15.0, consola@^2.15.3, consola@^2.6.0, consola@^2.9.0:
4014+
consola@^2.10.0, consola@^2.10.1, consola@^2.15.0, consola@^2.15.3, consola@^2.6.0, consola@^2.9.0:
40074015
version "2.15.3"
40084016
resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550"
40094017
integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==
@@ -4760,6 +4768,11 @@ dotenv@^16.0.1:
47604768
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.1.tgz#8f8f9d94876c35dac989876a5d3a82a267fdce1d"
47614769
integrity sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==
47624770

4771+
dotenv@^8.1.0:
4772+
version "8.6.0"
4773+
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b"
4774+
integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==
4775+
47634776
dotenv@^9.0.2:
47644777
version "9.0.2"
47654778
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-9.0.2.tgz#dacc20160935a37dea6364aa1bef819fb9b6ab05"

0 commit comments

Comments
 (0)