Feat(Router): create all pages
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
<template>
|
||||
<b-navbar toggleable="md" variant="light">
|
||||
|
||||
<b-navbar-toggle target="nav_collapse"></b-navbar-toggle>
|
||||
|
||||
<b-navbar-brand href="#">
|
||||
<font-awesome-icon icon="file-invoice-dollar" />
|
||||
<b-navbar-brand :to="{ name: 'home'}">
|
||||
<font-awesome-icon icon="file-invoice-dollar" /> Comptes
|
||||
</b-navbar-brand>
|
||||
|
||||
<b-collapse is-nav id="nav_collapse">
|
||||
<b-navbar-nav>
|
||||
<b-nav-item :to="{ name: 'home' }">Comptes</b-nav-item>
|
||||
<b-nav-item :to="{ name: 'analysis' }">Analyse</b-nav-item>
|
||||
<b-nav-item :to="{ name: 'import' }">Import</b-nav-item>
|
||||
<b-nav-item :to="{ name: 'postes' }">Postes</b-nav-item>
|
||||
</b-navbar-nav>
|
||||
@@ -27,4 +26,15 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.navbar {
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
color: #dc3545;
|
||||
}
|
||||
|
||||
.navbar a.router-link-exact-active {
|
||||
font-weight: bold;
|
||||
color: #42b983;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user