Rename question and answer to Question and Answer

master
Raymonzut 5 years ago
parent a16d3d9cfa
commit 8a48b2db2b
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 2
      client/src/components/Answer.vue
  2. 2
      client/src/components/Question.vue
  3. 10
      client/src/components/qa.vue

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

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

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

Loading…
Cancel
Save