Skip to content

Commit

Permalink
Update README and add the component command
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmgeek committed Jun 21, 2020
1 parent bdc6574 commit 169f4d9
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,24 @@ It's shipped with the essential tools/files to set you up quickly chceck [packag
### BE
Rails 6, postgresql and puma. It also depends on `ruby 2.7.1`.

#### Usage of the `component` generator command
You can do it like this:

```
→ rails g component aricle-body
Running via Spring preloader in process 53004
create frontend/components/aricle-body/_aricle-body.html.erb
create frontend/components/aricle-body/aricle-body.css
create frontend/components/aricle-body/aricle-body.js
append frontend/packs/application.js
```

# I want to change my App name
`/config/application.rb` then change the `module Template` to `module MyNewFancyApp` and you are good to go.

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

# Thanks?
You are wlecome bruh.
You are welcome bruh.

0 comments on commit 169f4d9

Please sign in to comment.