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
- Components in `app/components/essence`; styles/images under `app/assets/essence`
9
+
10
+
Setup
11
+
-`bundle install`
12
+
- Preview app: `cd site && bin/setup --skip-server` to install deps and prep the sqlite DB
13
+
- Start Lookbook: `cd site && bin/rails server` (or run `site/bin/setup` without `--skip-server` to boot via `bin/dev`)
14
+
15
+
Everyday dev
16
+
- Subclass `Essence::ApplicationComponent`; pair `*_component.rb` with `*_component.html.erb`
17
+
- JS entry: `app/javascript/essence/application.js`; register controllers via `controllers/index.js`; add importmap pins in `config/importmap.rb` when needed
18
+
- CSS/design tokens in `app/assets/stylesheets/essence`; images in `app/assets/images/essence`
19
+
- Previews/examples live in `site/app/previews/**`; mirror new props and states there
20
+
- Shared helpers and form inputs are under `app/helpers` and `app/inputs`; reuse existing utilities before adding new ones
0 commit comments