@(工作笔记)

vue3-record

[TOC]


Alt text

console.log('hello vue3')

vue3 mixin 怎么写?

component name 怎么指定?


Vue 3中尚不支持Vuefire。从主页:

注意:此版本当前支持Vue 2和Firebase 7。对Vue 3/Composition API和Firebase 8的支持正在进行中。

Vue.use是VUE2安装插件的方式。一旦Vuefire支持Vue 3,就使用app.use而不是Vue.use。在Vue 3中,Vue不是"vue"包的有效导出:

import { createApp } from 'vue'
import App from './App.vue'
import { firestorePlugin } from 'vuefire';

const app = createApp(App);
app.use(firestorePlugin);
app.mount("#app");
import {ComponentCustomProperties} from '@vue/runtime-core'

declare module '@vue/runtime-core' {
  export interface ComponentCustomProperties {
    $style: {
      [key: string]: string
    }
  }
}
/Users/stone/git_repository/vue3-generator-node/vue3-typescript-test/output_project/zheye

results matching ""

    No results matching ""