Quick Start [WIP]
We're about to add much more content to this guide. Stay tuned!
Until we have more content in place here, it might be a good idea to review the source code of the dummy app, which can be found here: https://github.com/matestack/matestack-ui-bootstrap/tree/main/spec/dummy
That should already give you a good idea how to use matestack-ui-bootstrap

Usage

Create Matestack apps, pages and components as described in the docs of matestack-ui-core and utilize the components described in the API section in order to create your UI. Just make sure to include the additional Registry in your desired controllers
app/controllers/application_controller.rb
1
class ApplicationController < ActionController::Base
2
3
include Matestack::Ui::Core::Helper # described in Core docs
4
5
end
Copied!
and include the registry wherever you want to use the components via methods like "bs_btn" instead of calling the namespaced classes
app/matestack/application_component.rb
1
class ApplicationComponent < Matestack::Ui::Component
2
3
include Matestack::Ui::Bootstrap::Registry # use methods like "bs_btn" instead of calling the namespaced classes
4
5
end
Copied!
Copy link
Contents
Usage