Many changes

- Express -> Koa
- Babel for transforming 'import' into 'require'
- SQL done for adding request; just need to get the app to call it
This commit is contained in:
Daniel J. Summers
2017-09-19 22:20:17 -05:00
parent 270ac45e8c
commit 794a365f08
12 changed files with 1179 additions and 293 deletions
+6 -3
View File
@@ -1,14 +1,16 @@
<template lang="pug">
article
page-title(:title="title")
p here you are!
p(v-if="isLoadingJournal") journal is loading...
p(v-if="!isLoadingJournal") journal has {{ journal.length }} entries
template(v-if="!isLoadingJournal")
new-request
p journal has {{ journal.length }} entries
</template>
<script>
import { mapState } from 'vuex'
import PageTitle from './PageTitle'
import NewRequest from './request/NewRequest'
import * as actions from '@/store/action-types'
@@ -19,7 +21,8 @@ export default {
return {}
},
components: {
PageTitle
PageTitle,
NewRequest
},
computed: {
title () {