-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hello,
I'm trying to get this module working but no luck. I have followed the steps stated:
- added dependency via yarn
- added the module and configure it using a key from the env section of nuxt.config.js
- when I use it I get undefined every time.
modules: [
"bootstrap-vue/nuxt",
"cookie-universal-nuxt",
['nuxt-env', {
keys: ['baseUrl']
}]
],export default {
mounted(){
console.log(this.$env.baseUrl); // undefined
console.log(process.env.baseUrl); // correct url
}
};Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed