nuxt-feathers-vuex icon indicating copy to clipboard operation
nuxt-feathers-vuex copied to clipboard

Add support for non-standard "srcDir"s in module.js

Open JorgenVatle opened this issue 7 years ago • 1 comments

Added support for users who wish to keep their generated files in a custom non-root directory.

JorgenVatle avatar Oct 27 '18 10:10 JorgenVatle

Added support for usage of shared Nuxt environment variables for specifying Socket.io URLs. 👍

// ~/nuxt.config.js

module.exports = {
...
  env: {
    nuxtFeathersUrl: process.env.SOCKET_IO_URL || 'http://custom-url-here:1337'
  }
...
}

JorgenVatle avatar Oct 29 '18 00:10 JorgenVatle