Rename question and answer to Question and Answer
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user