
gorkaio
Programming Phoenix LiveView: PentoWeb.LayoutView errata (56)
root_layout: {PentoWeb.LayoutView, :root},
This results in the following following error:
no “root” html template defined for PentoWeb.LayoutView
I believe it should be instead:
root_layout: {PentoWeb.Layouts, :root},
Marked As Solved

SophieDeBenedetto
Author of Programming Phoenix LiveView
This is correct. The book is running on, and describes, an outdated version of LiveView. So please be advised of that if and as you run into similar issues. Bruce and I are hard at work on a full upgrade and update of every chapter. The new Beta version of the book will be available for download in the next few weeks.
1
Also Liked

DVSLabs
Just letting you know that this was not fixed in the revision B10.0 dated 2023/09/06
Thank you for all your work keeping the book updated despite all the major changes.
1
Popular Prag Prog topics

Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84:
bundle exec sequel...
New

Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks”
While running the smoke tests in Chapter 2, I get these...
New

When I try the command to create a pair of migration files I get an error.
user=> (create-migration "guestbook")
Execution error (Ill...
New

Title: Hands-On Rust (Chapter 11: prefab)
Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New

Hi @Margaret ,
On page VII the book tells us the example and snippets will be all using Elixir version 1.11
But on page 3 almost the en...
New

In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New

I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113.
Iteration A1 - Seeing the list of prod...
New

Docker-Machine became part of the Docker Toolbox, which was deprecated in 2020, long after Docker Desktop supported Docker Engine nativel...
New

@mfazio23
I’ve applied the changes from Chapter 5 of the book and everything builds correctly and runs. But, when I try to start a game,...
New

From page 13:
On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New
Other popular topics

Any thoughts on Svelte?
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New

Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face:
Perhaps if there’s enough peop...
New

Just done a fresh install of macOS Big Sur and on installing Erlang I am getting:
asdf install erlang 23.1.2
Configure failed.
checking ...
New

In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first:
asdf plugin-upd...
New

A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New

Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New

The File System Access API with Origin Private File System.
WebKit supports new API that makes it possible for web apps to create, open,...
New
New

This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New

This is a very quick guide, you just need to:
Download LM Studio: https://lmstudio.ai/
Click on search
Type DeepSeek, then select the o...
New
Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /erlang
- /ruby
- /opensuse
- /phoenix
- /python
- /kotlin
- /rails
- /wasm
- /clojure
- /keyboards
- /react
- /go
- /security
- /js
- /centos
- /react-native
- /typescript
- /vim
- /swift
- /haskell
- /svelte
- /quarkus
- /emacs
- /debian
- /v
- /tailwind
- /vapor
- /gleam
- /django
- /nodejs
- /crystal
- /arch-linux
- /assemblyscript
- /kubuntu
- /c-plus-plus
- /fable
- /vscode
- /flutter
- /java
- /deno
- /laravel
- /symfony
- /agda
- /nixos
- /scala
- /actix
- /julia
- /ocaml
- /elm
- /ubuntu
- /manjaro
- /slackware
- /zig
- /spring
- /angular
- /preact
- /html
- /nerves