Layout.vue

This contains the main layout which includes the header, left-menu and the right-side component. The right-side component contains the right-side bar.

importing components :

The components can be imported using the keyword import

eg:

import vueadmin_header from "./components/layouts/header/fixed-header.vue"

The component which is being imported is to declared in the components object:

eg:

components: {vueadmin_header,left_side,right_side}

The component exporting is done using export default

eg:

export default { ... }

results matching ""

    No results matching ""