Merge branch 'format/filenames' into beta

master
Raymonzut 5 years ago
commit 8e671bf733
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 2
      client/src/components/AboutMe.vue
  2. 2
      client/src/components/Answer.vue
  3. 12
      client/src/components/QA.vue
  4. 2
      client/src/components/Question.vue
  5. 4
      client/src/router/index.js
  6. 6
      client/src/views/Home.vue
  7. 0
      client/src/views/Posts.vue

@ -18,7 +18,7 @@
import me from '../me.js'
export default {
name: 'aboutme',
name: 'AboutMe',
computed: {
age: me.age
}

@ -6,7 +6,7 @@
<script>
export default {
name: 'answer',
name: 'Answer',
props: {
a: String
}

@ -1,19 +1,19 @@
<template>
<div id='qa'>
<question :q='q'/>
<answer :a='a'/>
<Question :q='q'></Question>
<Answer :a='a'></Answer>
</div>
</template>
<script>
import question from './question.vue'
import answer from './answer.vue'
import Question from './Question.vue'
import Answer from './Answer.vue'
export default {
name: 'qa',
name: 'QA',
components: {
question,
answer,
Answer,
},
props: {
q: String,

@ -6,7 +6,7 @@
<script>
export default {
name: 'question',
name: 'Question',
props: {
q: String
}

@ -1,7 +1,7 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import posts from '../views/posts.vue'
import Posts from '../views/Posts.vue'
Vue.use(VueRouter)
@ -14,7 +14,7 @@ const routes = [
{
path: "/posts",
name: "Posts",
component: posts,
component: Posts,
},
]

@ -1,17 +1,17 @@
<template>
<div id="home">
<h1>Home</h1>
<aboutme/>
<AboutMe></AboutMe>
</div>
</template>
<script>
import aboutme from '@/components/aboutme'
import AboutMe from '@/components/AboutMe'
export default {
name: "Home",
components: {
aboutme
AboutMe
},
}
</script>

Loading…
Cancel
Save