re: How to Quickly Deploy a VueJS App to Heroku VIEW POST

re: Hey, When deploying a React app to Heroku the command npm run build is likely to work fine because libraries needed for the build process are list...

Ah cool! I remember my first time using heroku and wondering why it wouldn't build... Had some deps in Dev deps!

Why does Vue save them to devDependencies?

I consider that Vue is doing the right thing. Libraries that are only used to build the site should be placed in devDependencies instead of dependencies.

I understand that dependencies should be used to list packages that should be bundled into the production build, but the tools that you use to make the build.

code of conduct - report abuse