File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,20 @@ All the index data is stored in `index_data`, but will not be tracked by git.
48
48
Make sure to build the index after a fresh clone, otherwise Next might not
49
49
build specific pages (file ` index_data/x.json ` not found).
50
50
51
+ ## Project Structure Overview
52
+
53
+ - ` pages ` : All Next pages. Those are written in JS / MDX, some pages are re-exporting ReScript based pages from ` src/MyPage.res `
54
+ - ` styles ` : Contains all extra CSS that cannot be expressed with Tailwind
55
+ - ` src ` : Contains all ReScript related code for the UI
56
+ - ` / ` : Within ` src ` , you will find all ReScript based Next pages that are re-exported in the ` pages ` directory
57
+ - ` /bindings ` : (Zero-cost) bindings to JS libraries / apis
58
+ - ` /common ` : ReScript modules that are neither ` bindings ` , nor ` components `
59
+ - ` /components ` : ReScript / React components used by multiple pages
60
+ - ` /ffi ` : (to be deprecated) Plain JS that some ReScript code binds to (use ` raw ` statements for that)
61
+ - ` /layouts ` : All Next layouts used in our pages. Check out ` src/common/App.res ` for mapping layouts to routes
62
+ - ` scripts ` : Contains a mix of JS / ReScript based scripts that do all kind of code generation / code introspection logic
63
+ - ` tailwind.config.js ` : Contains our Tailwind configuration for all the low level design tokens
64
+
51
65
## Run Tests
52
66
53
67
### Markdown Codeblock Tests
You can’t perform that action at this time.
0 commit comments