cobra
Generating liveviews with ash resources
I’m looking for a way to generate liveviews but with Ash resources instead of the normal ecto schemas?
Thanks in advance ![]()
Marked As Solved
zachdaniel
In the AshPhoenix package there are liveview generators: mix ash_phoenix.gen.live — ash_phoenix v2.3.23
Also Liked
zachdaniel
There was a bug in a recent release of ash_phoenix that prevented it from printing the routes. I’m releasing a fixed version shortly. So now it should tell you which routes to add ![]()
zachdaniel
While learning to use the LV generator is great, the book was not designed to dovetail off of that generator really. I’m happy to work with you on questions about those generators, but you’re definitely making it harder on yourself by not following the books intended path more closely. There are a lot of concepts that it aims to teach and the focus is not on Liveview. Liveview is primarily a delivery mechanism to teach you about Ash in this context.
Now, the resource LV generator in ash_phoenix should create both a Liveview and a live component for the form. Is that not what you’re seeing?
Chrichton
Sorry, I didn’t that.
I will have a closer look now.
Thanks Zach
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








