New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to phoenix_live_view 0.9.0 #5
Comments
Once #4 is merged we will be able to open an issue on https://github.com/phoenixframework/phoenix_live_view/issues with a full explanation and steps to reproduce! |
Attempted to add Getting: == Compilation error in file lib/live_view_counter_web/router.ex ==
** (CompileError) lib/live_view_counter_web/router.ex: undefined function put_root_layout/2
(elixir 1.10.1) src/elixir_locals.erl:114: anonymous fn/3 in :elixir_locals.ensure_no_undefined_local/3
(stdlib 3.11.2) erl_eval.erl:680: :erl_eval.do_apply/6 There are only 6 Google search results for "phoenix put_root_layout": I've read through all 6 results and it looks like the Phoenix generator mix phx.new --live See: phoenixframework/phoenix#3680 That will significantly reduce the number of setup steps. |
Replaced all instances of Now seeing the following error:
The line in the code is:
After a bit of debugging I figured it out! 🙌 |
Fixed in #6 |
…sue#5 Update to phoenix_live_view version 0.9.0 for #5
phoenix_live_view 0.9.0
was released two days ago: https://hex.pm/packages/phoenix_live_viewI've attempted to update to
0.9.0
but it breaks:For reference, this is what it should look like:
view-source:http://localhost:4000
suggests that the layout template is not being rendered:Todo
The text was updated successfully, but these errors were encountered: