Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<app-main/> 组件在那里注册的? #3157

Closed
zjufish opened this issue May 2, 2020 · 0 comments
Closed

<app-main/> 组件在那里注册的? #3157

zjufish opened this issue May 2, 2020 · 0 comments

Comments

@zjufish
Copy link

zjufish commented May 2, 2020

<template>
  <div :class="classObj" class="app-wrapper">
    <div v-if="device==='mobile'&&sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
    <sidebar class="sidebar-container" />
    <div class="main-container">
      <div :class="{'fixed-header':fixedHeader}">
        <navbar />
      </div>
      <app-main />
    </div>
  </div>
</template>

export default {
  name: 'Layout',
  components: {
    Navbar,
    Sidebar,
    AppMain
  },

这里只export了AppMain, 请问app-main组件是哪里来的?

@zjufish zjufish closed this as completed May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant