make it more demo-able

This commit is contained in:
j3d1 2019-11-29 01:21:44 +01:00
parent 9faaa0f68b
commit fd094ff62b
5 changed files with 48 additions and 7 deletions

View file

@ -29,7 +29,6 @@
</div>
</Cards>
</div>
<Modal/>
</div>
</template>
@ -38,11 +37,10 @@ import Table from '@/components/Table';
import Navbar from '@/components/Navbar';
import Cards from '@/components/Cards';
import { mapState } from 'vuex';
import Modal from '@/components/Modal';
export default {
name: 'app',
components: {Modal, Navbar, Table, Cards },
components: { Navbar, Table, Cards },
computed: mapState(['loadedItems', 'layout'])
};
</script>

View file

@ -50,9 +50,6 @@ export default {
</script>
<style>
.card-list-item {
transition: all 1s ease-in-out;
}
.card-list-enter, .card-list-leave-to {
opacity: 0;

View file

@ -52,7 +52,7 @@ import { mapState, mapActions, mapMutations } from 'vuex';
export default {
name: 'Navbar',
data: () => ({
links: ['items', 'boxes', 'mass-edit'],
links: ['items', 'boxes', 'mass-edit', 'howto engel'],
buttons: [
{ title: 'Add', icon: 'plus', color: 'success' },
{ title: 'Refresh', icon: 'sync-alt', color: 'primary' },