changing from single quote to double quote
This commit is contained in:
parent
07cf7c8b4a
commit
fd1991e5a3
@ -11,8 +11,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent, reactive, ref, computed, watch, onBeforeMount, onMounted } from 'vue'
|
import { defineComponent, reactive, ref, computed, watch, onBeforeMount, onMounted, provide, inject } from "vue"
|
||||||
import AppLayout from '@/Layouts/AppLayout.vue'
|
import AppLayout from "@/Layouts/AppLayout.vue"
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
emits: [],
|
emits: [],
|
||||||
@ -23,17 +23,20 @@ export default defineComponent({
|
|||||||
AppLayout,
|
AppLayout,
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props, {context, emit}) {
|
setup(props, { attrs, slots, emit, expose }) {
|
||||||
let aVariable = reactive({})
|
let aVariable = ref({})
|
||||||
|
|
||||||
|
// computed properties
|
||||||
let compVariable = computed(() => {
|
let compVariable = computed(() => {
|
||||||
//return 'foo'
|
//return "foo"
|
||||||
})
|
})
|
||||||
|
|
||||||
watch(variable, (newValue, oldValue) => {
|
// watchers
|
||||||
|
watch(aVariable, (newValue, oldValue) => {
|
||||||
//
|
//
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// lifecycle hooks
|
||||||
onBeforeMount(() => {
|
onBeforeMount(() => {
|
||||||
//
|
//
|
||||||
})
|
})
|
||||||
@ -42,6 +45,7 @@ export default defineComponent({
|
|||||||
//
|
//
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// methods
|
||||||
function myMethod() {
|
function myMethod() {
|
||||||
aVariable.value = null
|
aVariable.value = null
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user