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
Copy file name to clipboardExpand all lines: apps/ui/README.md
+19-21Lines changed: 19 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -56,33 +56,31 @@ npm run dev
56
56
├── useLocalStorage.ts
57
57
```
58
58
59
-
### Pages
59
+
### Modules
60
60
61
-
**Description:**Pages lives under the `pages` folder, the page should be a folder, and they are registered in the app router.
61
+
**Description:**Modules lives under the `modules` folder and they can have their own components, composables, pages, services, etc.
62
62
63
-
**filename convention:** The filename of the page should be in `PascalCase` and must have the prefix `Page`.
63
+
**filename convention:**
64
64
65
-
**Rules:**
66
-
67
-
- The page should be a folder
68
-
- The page folder should have a `[PageName].vue` file inside
69
-
- Page local components should be inside the page `components` folder and should have the prefix of the page name
70
-
- Page local composables of the page should be inside the page `composables` folder
65
+
- module: Modules folder name must be in should be in `camelCase`
66
+
- components: The filename of the component should be in `PascalCase` and must have the prefix of the module name. Example: `ModuleNameComponentName.vue`
67
+
- composables: The filename of the composable should be in `camelCase` and they not need to have the prefix of the module name.
0 commit comments