You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I've "upgraded" to vue-cli, and now I can't figure out for the life of me how to build and publish this one little component to npm in a way that makes it importable from other projects.
I've been following the directions here, which mention nothing about what to do as the "main" entry in package.json, so I've been ticking up versions trying different approaches, with no luck.
Any help would be greatly appreciated. I'd like to get this version out to everyone (including me, I'm trying to use it in one of my own projects) without having to publish another 50 attempts.
The text was updated successfully, but these errors were encountered:
Thanks to the good folks on the Vue discord chat, especially BogdanL and Nate Mallison, this has been resolved and 1.1.3 is working! However, it no longer uses the default export (for now), so imports will need to dereference it.
Well, I've "upgraded" to vue-cli, and now I can't figure out for the life of me how to build and publish this one little component to npm in a way that makes it importable from other projects.
I've been following the directions here, which mention nothing about what to do as the "main" entry in package.json, so I've been ticking up versions trying different approaches, with no luck.
https://vuejs.org/v2/cookbook/packaging-sfc-for-npm.html
Any help would be greatly appreciated. I'd like to get this version out to everyone (including me, I'm trying to use it in one of my own projects) without having to publish another 50 attempts.
The text was updated successfully, but these errors were encountered: