Thorsten Lünborg
Thorsten Lünborg
Im personally torn about this. What you ask for is achievable right now by running build two times, changing options as required with an env variable. A built-in option would...
> I've yet to see a popular library that ships only minified builds in dist which is the current default in vite library mode. Agree. But at the same time,...
Yeah. This is a Vue 2 plugin. I'll release a vue 3 compatible version in time.
Sidenote: Depending on your usecase you might not need portal-vue anymore as Vue 3 has a basic Portal in core now, named ``. https://github.com/vuejs/rfcs/blob/master/active-rfcs/0025-teleport.md
I'll provide a Vue 3 compatible version, as `` doesn't offer everything that `portal-vue` does - but the former has none of the caveats/downsides of the latter as well. So...
Teleport is already designed to solve the 80% use case, not all of Portal-Vue. If that covers your needs, by all means use that. Portal-Vue does a few more things...
> @LinusBorg `teleport` can't work with transition, this cause some transition(leave animate) broken. That should.be addressed as a bug in the Vue 3 repo then.
> because teleport is DOM-based, it could not send any component to transition child, I'm not sure what you mean here. I again suggest to try and open an issue...
On it but got set back a bit as I broke my arm recently. coding is .... difficult right now ^^ Will def still be a few more weeks before...
So, I'm well enough recovered to start working on the migration. It's going well so far, I'm a few missing tests away from udpating documentation. If everythign goes as planned...