Skip to content

Commit 169f4d9

Browse files
committed
Update README and add the component command
1 parent bdc6574 commit 169f4d9

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,24 @@ It's shipped with the essential tools/files to set you up quickly chceck [packag
1414
### BE
1515
Rails 6, postgresql and puma. It also depends on `ruby 2.7.1`.
1616

17+
#### Usage of the `component` generator command
18+
You can do it like this:
19+
20+
```
21+
→ rails g component aricle-body
22+
23+
Running via Spring preloader in process 53004
24+
create frontend/components/aricle-body/_aricle-body.html.erb
25+
create frontend/components/aricle-body/aricle-body.css
26+
create frontend/components/aricle-body/aricle-body.js
27+
append frontend/packs/application.js
28+
```
29+
1730
# I want to change my App name
1831
`/config/application.rb` then change the `module Template` to `module MyNewFancyApp` and you are good to go.
1932

2033
# Is it up to date?
21-
To the day: `May 17, 2020` Yes, it's for now up to date.
34+
To the day: `June 21, 2020` Yes, it's for now up to date.
2235

2336
# Thanks?
24-
You are wlecome bruh.
37+
You are welcome bruh.

0 commit comments

Comments
 (0)