{"size": 527, "ext": "js", "max_stars_repo_path": "06_other_components/src/main.js", "max_stars_repo_name": "whwh1233/vue3", "max_stars_repo_stars_event_min_datetime": "2021-09-18T14:00:35.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-18T14:00:35.000Z", "max_issues_repo_path": "06_other_components/src/main.js", "max_issues_repo_name": "whwh1233/vue3", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "06_other_components/src/main.js", "max_forks_repo_name": "whwh1233/vue3", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.9583333333, "max_line_length": 57, "alphanum_fraction": 0.7096774194}
import { createApp } from 'vue'
import App from './03_自定义指令/App.vue'
import registerDirectives from './directives'
import plugin_object from './plugins/plugins_object'
import plugins_function from './plugins/plugins_function'
// 全局自定义指令
// app.directive("focus",{
//   mounted(el,bindings,vnode,preVnode) {
//     // 相应的元素挂载后，就会执行这个生命周期
//     console.log("focus mounted")
//     el.focus()
//   }
// })



const app = createApp(App)
app.use(plugin_object)
registerDirectives(app)

app.use(plugins_function)
app.mount('#app')

