Seed Project

Adminify comes with a seed project. You can start your app from scratch with it. It’s easy to build new app structure which can be further extended and enhanced with new features and pages as per requirement.

It included all core files required to run an app with flexibility to include new components and modules to integrate new features and functionality.

Add menu item

Step 1 go to the views folder and create a new folder test and add a new file inside test folder test.vue and paste the following content

<template>
<div>
      <p>This is a Test component.</p>
</div>
</template>

Step 2 goto components/sidebar/menu.js and add a new object inside routes array, paste the following content

{
"menu_title": "message.test",
"menu_icon": "zmdi zmdi-edit",
"active": false,
"child_routes": [
{
"path": "/test/test",
"menu_title": "message.test"
}
]
},

Step 3 now go to the router folder and open index .js file, here we import the component and set its route.

to import :
// test
const Test = () => import('Views/test/test')

And below in the same file inside export default in children array add the following object

{
name: "Test",
path: '/test/test',
component: Test,
meta: {
requiresAuth: true,
title: 'message.test',
breadcrumb: 'message.test'
}
},
Last Updated 5 years ago
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages