Skip to content

Commit 0eb8668

Browse files
committed
bash -> console
1 parent d56b1ac commit 0eb8668

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ gem "custom_elements-rails"
3333

3434
Install the gem:
3535

36-
```bash
36+
```console
3737
$ bundle install
3838
```
3939

4040
Run the initial setup:
4141

42-
```bash
42+
```console
4343
$ rails custom_elements:install
4444
```
4545

@@ -93,7 +93,7 @@ eagerDefineCustomElementsFrom("custom_elements", { prefix: "app" });
9393

9494
This gem adds a generator to generate new custom elements with:
9595

96-
```bash
96+
```console
9797
$ rails generate custom_element test
9898
```
9999

@@ -114,13 +114,13 @@ export default class extends HTMLElement {
114114

115115
which in turn will register a `<app-test></app-test>` custom element automatically in your app.
116116

117-
```bash
117+
```console
118118
$ rails generate custom_element test
119119
```
120120

121121
To observe changes in your custom element's attributes, you need to set a static array of attribute names. The generator also supports setting those automatically:
122122

123-
```bash
123+
```console
124124
$ rails generate custom_element test attribute1
125125
```
126126

0 commit comments

Comments
 (0)