I would like to be able to use ES6 features such as import and async server-side. I'm currently building an app based on the auth routes example. Since I would like to share some plugins between Nuxt backend and frontend (such as an axios instance that posts to the api), this would make things a lot cleaner. Currently, I would either have to make sure all the code is basic js, or duplicate all the shared code.
I'm not an expert on build systems, so I was wondering if there is a way I can implement this myself or if it is planned to be added. Any help is appreciated!
Hi @WouterFlorijn & thanks for your idea. Sure it will be planned for 2.0. (Related to #1935)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Hi @WouterFlorijn & thanks for your idea. Sure it will be planned for 2.0. (Related to #1935)