Home

Issue: 1749

Cannot use external component on Heroku production

[issue link]

I was using “vue-switches” on my nuxt project
I can run on my PC without any problem. “npm run build” also working fine.

But when I push to Heroku, it cannot be built.
untitled

When remove “vue-switches” from package.json and push to Heroku, then it works.

any solution?

This question is available on Nuxt.js community (#c1571)