Quick Start [WIP]
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
class ApplicationController < ActionController::Base
include Matestack::Ui::Core::Helper # described in Core docs
end
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
class ApplicationComponent < Matestack::Ui::Component
include Matestack::Ui::Bootstrap::Registry # use methods like "bs_btn" instead of calling the namespaced classes
end
Last updated