Sunday, 18 August 2019

Question: using python as backend for node + vue not working?

I'm a little new to node and vue but I can't seem to figure out why this doesn't work. I've made a small localhost server using python for my node + vue app, however it doesn't work and gives me weird errors in the chrome console like .push() is not a function.When using npm run start, it works perfectly. However when I build it with npm run build, and have my server use those files is dist, everything breaks. Am I not understanding something here? Do I have to use a node server for this to work?​quick edit: I don't know if this matters but I am moving the dist directory into another folder when trying to use it on my python server.

Submitted August 18, 2019 at 07:46PM by OxidizedPixel

No comments:

Post a Comment