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