Simple_form , back not included in core components

Hello all,

when running the below mix command , I noticed my generated test1web.corecomponents does not include components like back and simple_form , what could cause such behavior ?

mix igniter.new test1 --install ash,ash_postgres,ash_phoenix --with phx.new --extend postgres


Have you upgraded to Phoenix 1.8? I believe we need to update our generators to support it :smiling_face_with_tear:

1 Like

Yes , checking mix.exs it is

{:phoenix, "~> 1.8.0-rc.0", override: true},

Gotcha. I’m pretty busy, but we will likely need to update our templates. I think they have changed them quite a bit so I don’t know when we could get around to it honestly.

You likely need to upgrade the Phoenix generators outside of the project (i.e. not just the mix files). mix phx.new uses the version in the library archives - try mix archive.install hex phx_new and follow the prompts to overwrite the existing version.

I’m not sure I follow. Ash has its own tasks in ash_phoenix.gen.live that are generating invalid code as of Phoenix 1.8

I was replying to the OP - wouldn’t —with phx.new use the installed generators for setting up the Phoenix part of the project? That’s where core_components.ex comes from, right?

We’re talking about the usage of mix ash_phoenix.gen.live when the user has created a new Phoenix 1.8 app. They made changes to core components that we don’t yet support in the code we generate with mix ash_phoenix.gen.live.