docs: create tool guideline

Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
Corentin Thomasset 2020-06-22 21:15:50 +02:00
parent d27c133a66
commit b75603f311
No known key found for this signature in database
GPG key ID: DBD997E935996158

View file

@ -52,6 +52,29 @@ npm run lint
## Contribute
**Pull requests are welcome !** Feel free to contribute.
### Add a tool
To add a tool you just have to create a vue component in [src/routes/tools](./src/routes/tools), example:
```vue
<template>
<v-card class="single-card">
<v-card-title>My component</v-card-title>
<v-card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</v-card-text>
</v-card>
</template>
<script>
export default {
name: "My component"
}
</script>
<style scoped lang="less">
</style>
```
Then, update the file [router.js](./src/router.js) specifying info of the component.
Use [fontawesome 5](https://fontawesome.com/icons?d=gallery&m=free) for icons.
## Credits
Coded with ❤️ by [Corentin Thomasset](//corentin-thomasset.fr).