[Vuejs]-Run nuxt on https locally – problem with nuxt.config.js

0👍

Well, just to close this:
My problem resulted from running nuxt as a node app, which does not understand ES6 import statements, which appeared in my nuxt config.

So I had to rewrite things to work with commons.js (require).

This works for now.
(I also tried to run babel-node when starting the server.js, but had no success. Does not mean this did not work, I just wasn’t keen on trying harder).

Thanks for the comments.
cheers

Leave a comment