Static GitHub Issues

[1385] [internals] improve options module

prev: environment variables not working
next: What is the best way to access this.$router.push() / router.push() inside the Vuex?

Hello,

Since using default export of Options as option initializer, I have a question that is it a good way to use a Class-like naming style to name a function?

I found members in options.js like Modes and defaultOptions are also put in Options now, maybe leave Options as a pure Object, and rename the init function to Options.from(_options) is a better choice?

https://github.com/nuxt/nuxt.js/blob/d7d85d3b4763eacf4a25155c08a01fab3ee5746a/lib/core/nuxt.js#L18

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1229">#c1229</a>)</em></sub></div>