Volt 0.17.10 cannot be installed together with the released phoenix_vapor (0.3.0), because the two pin different ranges of the shared Rust NIFs:
|
volt 0.17.10 |
phoenix_vapor 0.3.0 |
oxc |
~> 0.17.7 |
~> 0.11.0 |
vize |
~> 0.14.0 |
~> 0.10.0 |
Because "your app" depends on "phoenix_vapor ~> 0.3" which depends on
"volt ~> 0.10.1", "volt ~> 0.10.1" is required.
So, because "your app" depends on "volt ~> 0.17", version solving failed.
Pinning Volt back to ~> 0.10.1 to match Vapor is not an option for us either: any Volt below 0.11.1 requires reach ~> 1.6, and our project is on reach ~> 2.x.
The practical effect is that a Phoenix project cannot use a current Volt and write Vue components at the same time. Volt alone compiles .vue files, but the LiveView bridge lives in Vapor.
We landed on Volt 0.14.0 plus the inertia-inspired-foundations branch of phoenix_vapor, which resolves and works — but that means staying a minor behind and depending on a branch rather than a release.
Filed the matching issue on the Vapor side: elixir-volt/phoenix_vapor#2
Is a Volt release line intended to stay compatible with phoenix_vapor, or is the Vue-with-LiveView path expected to track Volt separately?
Volt 0.17.10 cannot be installed together with the released
phoenix_vapor(0.3.0), because the two pin different ranges of the shared Rust NIFs:oxc~> 0.17.7~> 0.11.0vize~> 0.14.0~> 0.10.0Pinning Volt back to
~> 0.10.1to match Vapor is not an option for us either: any Volt below 0.11.1 requiresreach ~> 1.6, and our project is onreach ~> 2.x.The practical effect is that a Phoenix project cannot use a current Volt and write Vue components at the same time. Volt alone compiles
.vuefiles, but the LiveView bridge lives in Vapor.We landed on Volt 0.14.0 plus the
inertia-inspired-foundationsbranch ofphoenix_vapor, which resolves and works — but that means staying a minor behind and depending on a branch rather than a release.Filed the matching issue on the Vapor side: elixir-volt/phoenix_vapor#2
Is a Volt release line intended to stay compatible with
phoenix_vapor, or is the Vue-with-LiveView path expected to track Volt separately?