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/getting-started/installation-update.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,15 @@ gem 'matestack-ui-vuejs'
14
14
15
15
and run
16
16
17
-
```text
17
+
```
18
18
$ bundle install
19
19
```
20
20
21
21
### Matestack Ui Core install steps (if not already happened)
22
22
23
23
Create a folder called 'matestack' in your app directory. All your Matestack apps, pages and components will be defined there.
24
24
25
-
```text
25
+
```
26
26
$ mkdir app/matestack
27
27
```
28
28
@@ -45,16 +45,16 @@ will be shipped in `matestack-ui-vuejs` `3.1`
45
45
46
46
Add 'matestack-ui-vuejs' to your `package.json` by running:
47
47
48
-
```text
48
+
```
49
49
$ yarn add matestack-ui-vuejs
50
50
```
51
51
52
52
This adds the npm package that provides the JavaScript corresponding to the matestack-ui-vuejs 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-vuejs`.
53
53
54
54
**Note**:
55
55
56
-
- vue3 dropped IE 11 support
57
-
- when using babel alongside webpacker, please adjust your package.json or .browserslistrc config in order to exclude IE 11 support:
56
+
* vue3 dropped IE 11 support
57
+
* when using babel alongside webpacker, please adjust your package.json or .browserslistrc config in order to exclude IE 11 support:
You need to add the ID "matestack-ui" to some part of your application layout \(or any layout you use\). That's required for Matestack's Vue.js to work properly!
151
+
You need to add the ID "matestack-ui" to some part of your application layout (or any layout you use). That's required for Matestack's Vue.js to work properly!
153
152
154
153
For Example, your `app/views/layouts/application.html.erb` should look like this:
155
154
@@ -186,7 +185,9 @@ Don't apply the "matestack-ui" id to the body tag.
186
185
187
186
Some of Matestack's reactive components may be used with or require ActionCable. If you want to use ActionCable, please read the action cable guide:
0 commit comments