Got this solved. Long story short, it was a combination of configuration and file ending.
config :phoenix, :template_engines,
slim: PhoenixSlime.Engine,
slime: PhoenixSlime.Engine,
sheex: PhoenixSlime.LiveView.HTMLEngine
# slimleex: PhoenixSlime.LiveViewEngine # If you want to use LiveView
I didn’t have sheex originally, as slimleex had been generated. Populimited’s code had sheex in config with PhoenixSlime.LiveView.HTMLEngine as the value. Once I added that and changed the file ending from slim to sheex, my components worked as expected.
For example in my index.html.sheex file:
:link href=~p"/memories/new" class="text-sky-500 hover:underline"
'new memory
Now works. It is rendered in the brower as
<!-- <Phoenix.Component.link> lib/phoenix_component.ex:2670 -->
<a href="/memories/new" class="text-sky-500 hover:underline">new memory </a>
<!-- </Phoenix.Component.link> -->`






















