Effectively start the project

This commit is contained in:
2018-11-30 08:02:54 +01:00
parent fba584745c
commit 8dcc83a756
11 changed files with 367 additions and 6 deletions

20
src/views/Home.vue Normal file
View 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
View 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
View File

@@ -0,0 +1,5 @@
<template>
<div class="import">
<h1>Import</h1>
</div>
</template>

5
src/views/postes.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<div class="postes">
<h1>Postes</h1>
</div>
</template>