You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,17 @@ description: Matestack Ui Bootstrap - Beautiful, reactive web UIs, Ruby and you!
5
5
# Welcome
6
6
7
7
{% hint style="info" %}
8
-
You're reading the docs for 3.0 which are WIP currently. Switch to 2.1 on the left to read the docs for 2.1
8
+
Version 3 was released on in February 2022. Click here for more [details](migrate-from-2.x-to-3.0.md)
9
+
10
+
**Most important changes:**
11
+
12
+
* Split `matestack-ui-core` into `matestack-ui-core` and `matestack-ui-vuejs`
13
+
* Rails 7 support
14
+
* Vue 3 support in `matestack-ui-vuejs`
15
+
16
+
****
17
+
18
+
You're reading the docs for 3.0 --> If you want to see the docs for Version 2.1, click [here](https://docs.matestack.io/matestack-ui-bootstrap/v/2.1/)
9
19
{% endhint %}
10
20
11
21
`matestack-ui-bootstrap` ships all you need to build **reactive AND styled** UIs in **pure Ruby** orchestrating styled components (based on Bootstrap v5) with a simple Ruby DSL. Additionally smart CRUD components helps you building beautiful data-driven admin and application UIs.
@@ -20,7 +30,7 @@ All features of `matestack-ui-core` and `matestack-ui-vuejs` can be mixed in whi
20
30
21
31
* Rails 7.0.1 + Ruby 3.0.0 + Vue.js 3.2.26
22
32
* Rails 6.1.1 + Ruby 3.0.0 + Vue.js 3.2.26
23
-
* Rails 6.1.1 + Ruby 2.7.2 + Vue.js 3.2.26 
33
+
* Rails 6.1.1 + Ruby 2.7.2 + Vue.js 3.2.26
24
34
* Rails 6.0.3.4 + Ruby 2.6.6 + Vue.js 3.2.26
25
35
* Rails 5.2.4.4 + Ruby 2.6.6 + Vue.js 3.2.26
26
36
@@ -44,7 +54,7 @@ You might want to have a look at the dummy app in oder to better understand what
44
54
45
55
Alongside smart components, `matestack-ui-boostrap` ships all Bootstrap v5 components enabling you to use them in pure Ruby.
46
56
47
-
Imagine adding a Bootstrap \`card\` component within one line of Ruby, skipping recreating the required DOM structures again and again? 
57
+
Imagine adding a Bootstrap \`card\` component within one line of Ruby, skipping recreating the required DOM structures again and again?
48
58
49
59
```ruby
50
60
bs_card title:"foo", body:"bar"#bs_card is shipped within matestack-ui-bootstrap
@@ -101,7 +111,6 @@ class MyAdmin::Pages::Customer::Index < Matestack::Ui::Page
101
111
end
102
112
103
113
end
104
-
105
114
```
106
115
107
116
#### Flexible, responsive, prebuilt app layouts
@@ -465,7 +474,6 @@ class MyAdmin::Pages::Products::Index < Matestack::Ui::Page
@@ -56,9 +54,6 @@ For Example, your `app/views/layouts/application.html.erb` should look like this
56
54
57
55
<!-- if you are using webpacker: -->
58
56
<%= javascript_pack_tag 'application' %>
59
-
60
-
<!-- if you are using the asset pipeline: -->
61
-
<%= javascript_include_tag 'application' %>
62
57
</head>
63
58
64
59
<body>
@@ -81,10 +76,16 @@ will be shipped in `matestack-ui-bootstrap` `3.1`
81
76
82
77
#### Webpacker > 5.x based JavaScript installation
83
78
84
-
Add 'matestack-ui-vuejs' to your `package.json` by running:
79
+
Add 'matestack-ui-vuejs' to your `package.json` by adding:
85
80
86
81
```
87
-
$ yarn add matestack-ui-bootstrap@3.0.0-rc1
82
+
{
83
+
"name": "my-app",
84
+
"dependencies": {
85
+
"matestack-ui-bootstrap": "^3.0.0-rc1",
86
+
"..."
87
+
}
88
+
}
88
89
```
89
90
90
91
This adds the npm package that provides the JavaScript corresponding to the matestack-ui-bootstrap Ruby gem. Make sure that the npm package version matches the gem version. To find out what gem version you are using, you may use `bundle info matestack-ui-bootstrap`.
@@ -199,11 +200,11 @@ Download and import Bootstraps icons:
* extract the bootstrap-icons.svg to this path: app/assets/images/icons \(currently served via assets pipeline, we had issues serving the icons via Webpack\)
203
+
* extract the bootstrap-icons.svg to this path: app/assets/images/icons (currently served via assets pipeline, we had issues serving the icons via Webpack)
0 commit comments