documentation - add emojis
This commit is contained in:
parent
c9a2a971f1
commit
93b0c13ac3
2 changed files with 10 additions and 10 deletions
18
README.md
18
README.md
|
|
@ -29,16 +29,16 @@ VITE_PASSWORD=your-private-password
|
|||
### Rules and conventions
|
||||
|
||||
- All `.vue` files' names are written in PascalCase :
|
||||
- ✗ `sidenav.vue`
|
||||
- ✗ `sideNav.vue`
|
||||
- ✔ `SideNav.vue`
|
||||
- ✔ `Home.vue`
|
||||
- ⛔ `sidenav.vue`
|
||||
- ⛔ `sideNav.vue`
|
||||
- ✅ `SideNav.vue`
|
||||
- ✅ `Home.vue`
|
||||
- Stores files' names, located in `/src/stores/`, are written in camelCase and doesn't include the word "Store" :
|
||||
- ✗ `Api.js`
|
||||
- ✗ `ApiStore.js`
|
||||
- ✗ `apiStore.js`
|
||||
- ✔ `api.js`
|
||||
- ✔ `pageData.js`
|
||||
- ⛔ `Api.js`
|
||||
- ⛔ `ApiStore.js`
|
||||
- ⛔ `apiStore.js`
|
||||
- ✅ `api.js`
|
||||
- ✅ `pageData.js`
|
||||
|
||||
### Creating a page
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
import home from "./views/Home.vue";
|
||||
import { useApiStore } from "./stores/api";
|
||||
import { ref } from "vue";
|
||||
import home from "./views/Home.vue";
|
||||
|
||||
const components = {
|
||||
home,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue