Routing and Mounting Components
Routing Directly to Components
get 'some_page/(*others)', to: 'hyperstack#some_component' get `/(*others)`, to 'hyperstack#app'bundle exec rails g hyper:router App --add-route="/(*others)"...
get 'admin/(*others)', to: 'hyperstack#admin'
get '/(*others)', to: 'hyperstack#app'
...Rendering a Component from a Controller
Rendering (or Mounting) a Component from a View
Last updated
Was this helpful?