I already had an api done before I started using nuxt, therefore I didnt use es6 modules, instead I used commonJS require. For some reason that didnt work with backpack, so I started using nodemon instead for hot reload.
Is this the way to go or is there a way to make commonjs requires work with backpack? My problem with nodemon is: When saving something client side, nuxt builds multiple times and nodemon detects a change. I've even ignored .nuxt from nodemon.
Thanks in advance
This question is available on Nuxt.js community (#c66)
I already had an api done before I started using nuxt, therefore I didnt use es6 modules, instead I used commonJS require. For some reason that didnt work with backpack, so I started using nodemon instead for hot reload.
Is this the way to go or is there a way to make commonjs requires work with backpack? My problem with nodemon is: When saving something client side, nuxt builds multiple times and nodemon detects a change. I've even ignored .nuxt from nodemon.
Thanks in advance