changing from single quote to double quote

This commit is contained in:
Brian 2022-03-28 12:50:09 -06:00
parent 07cf7c8b4a
commit fd1991e5a3
Signed by: brian
GPG Key ID: DE1A5390A3B84CD8

View File

@ -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
}