This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add Vue standard documentation
- Loading branch information
Showing
26 changed files
with
178 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Components | ||
|
||
Components are the building blocks of Vue applications. A component is | ||
essentially a Vue instance with pre-defined options. Registering a component in | ||
Vue using Composition is straightforward: | ||
|
||
```javascript | ||
<script setup> | ||
import { ref } from 'vue' | ||
|
||
const count = ref(0) | ||
|
||
function increment() { | ||
count.value++ | ||
} | ||
</script> | ||
```` | ||
```html | ||
<template> | ||
<button @click="increment"> | ||
Count is: {{ count }} | ||
</button> | ||
</template> | ||
``` | ||
```html | ||
<style scoped> | ||
button { | ||
background-color: #4CAF50; /* Green */ | ||
border: none; | ||
color: white; | ||
padding: 15px 32px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
font-size: 16px; | ||
} | ||
</style> | ||
``` | ||
|
||
The sample component above is a simple button that increments a counter when | ||
clicked. | ||
|
||
## Structure | ||
|
||
For this project, the setup script must be first, followed by the template and | ||
then the style. The style is optional. | ||
|
||
The setup script is a single script tag with the attribute `setup`. | ||
The template is a single template tag. | ||
The style is a single style tag with the attribute `scoped`. | ||
|
||
## Directories | ||
|
||
View components are stored in the `src/views` directory, while | ||
components that are used by views are stored in the `src/components`. | ||
|
||
<seealso> | ||
<category ref="vue"> | ||
<a href="Vuetify.md" /> | ||
</category> | ||
<category ref="uh"> | ||
<a href="Admin.md" /> | ||
<a href="Authenticating-Logging-In.md" /> | ||
<a href="Loans.md" /> | ||
<a href="Deposits.md" /> | ||
<a href="Profiles.md" /> | ||
</category> | ||
<category ref="ds"> | ||
<a href="Naming.md" /> | ||
<a href="Comments.md" /> | ||
<a href="Code-Style.md" /> | ||
<a href="Git-Commit-Messages.md" /> | ||
</category> | ||
</seealso> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Vue | ||
|
||
The frontend is built with Vue.js, which is also subject to our | ||
<a href="Coding-Standards.md" />. | ||
|
||
## Vue.js | ||
|
||
Vue.js is a progressive framework for building user interfaces. Unlike other | ||
monolithic frameworks, Vue is designed from the ground up to be incrementally | ||
adoptable. The core library is focused on the view layer only, and is easy to | ||
pick up and integrate with other libraries or existing projects. On the other | ||
hand, Vue is also perfectly capable of powering sophisticated Single-Page | ||
Applications when used in combination with modern tooling and supporting | ||
libraries. | ||
|
||
For this project, we use Vue.js 3 built with [Vite](https://vitejs.dev/). | ||
|
||
## Vue API | ||
|
||
The Vue API is available | ||
<a href="https://v3.vuejs.org/api/" >here online</a>. | ||
We will be using the Composition API, which is available | ||
<a href="https://v3.vuejs.org/api/composition-api.html" >here online</a>. | ||
|
||
<seealso> | ||
<category ref="vue"> | ||
<a href="Components.md" /> | ||
<a href="Vuetify.md" /> | ||
</category> | ||
<category ref="uh"> | ||
<a href="Admin.md" /> | ||
<a href="Authenticating-Logging-In.md" /> | ||
<a href="Loans.md" /> | ||
<a href="Deposits.md" /> | ||
<a href="Profiles.md" /> | ||
</category> | ||
<category ref="ds"> | ||
<a href="Naming.md" /> | ||
<a href="Comments.md" /> | ||
<a href="Code-Style.md" /> | ||
<a href="Git-Commit-Messages.md" /> | ||
</category> | ||
</seealso> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Vuetify | ||
|
||
This project largely uses [Vuetify](https://vuetifyjs.com/en/) for its | ||
components. Vuetify is a Material Design component framework for Vue.js. It aims | ||
to provide clean, semantic and reusable components that make building your | ||
application a breeze. | ||
|
||
## Vuetify API | ||
|
||
The Vuetify API is available | ||
[here online](https://vuetifyjs.com/en/api/vuetify/). | ||
|
||
## Classes | ||
|
||
Vuetify uses classes to style components. These classes are exposed to the | ||
whole application, so they can be used in the `class` tag of any component. | ||
|
||
<seealso> | ||
<category ref="vue"> | ||
<a href="Components.md" /> | ||
</category> | ||
<category ref="uh"> | ||
<a href="Admin.md" /> | ||
<a href="Authenticating-Logging-In.md" /> | ||
<a href="Loans.md" /> | ||
<a href="Deposits.md" /> | ||
<a href="Profiles.md" /> | ||
</category> | ||
<category ref="ds"> | ||
<a href="Naming.md" /> | ||
<a href="Comments.md" /> | ||
<a href="Code-Style.md" /> | ||
<a href="Git-Commit-Messages.md" /> | ||
</category> | ||
</seealso> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters