Effectively start the project
This commit is contained in:
20
src/views/Home.vue
Normal file
20
src/views/Home.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<h1>Comptes </h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// @ is an alias to /src
|
||||
export default {
|
||||
name: 'home',
|
||||
components: {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
32
src/views/icons_test.vue
Normal file
32
src/views/icons_test.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<b-form-input v-model="icon_name"
|
||||
type="text"
|
||||
placeholder="Enter icon name">
|
||||
</b-form-input>
|
||||
<p>
|
||||
Value: {{ icon_name }} -> <font-awesome-icon :icon="icon_name" />
|
||||
</p>
|
||||
<p>{{ available_icons }}</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// @ is an alias to /src
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
export default {
|
||||
name: 'home',
|
||||
components: {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
icon_name: 'coffee'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
available_icons () {
|
||||
return Object.keys(library.definitions.fas)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
5
src/views/import.vue
Normal file
5
src/views/import.vue
Normal file
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<div class="import">
|
||||
<h1>Import</h1>
|
||||
</div>
|
||||
</template>
|
||||
5
src/views/postes.vue
Normal file
5
src/views/postes.vue
Normal file
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<div class="postes">
|
||||
<h1>Postes</h1>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user