## Developer guide for `` component
### Folder Structure
From Laravel Application
- resources
- js
- core
- components
- layouts
- Sidebar.Vue
### Register
```js
Vue.component('sidebar', require('./components/layouts/Sidebar').default);
```
### Props
1. data
- `type` : `Array`
- `required` : `true`
#Example -Array of objects => Each object like below
```
{
id: 'setting',
icon: 'settings',
name: 'Settings',
permission: true,
subMenu: [
{
name: 'App Settings',
url: 'form',
permission: true
},
{
name: 'Basic Settings',
url: '/',
permission: true
},
]
}
```
2. logoSrc
- `type` : `String`
3. logoIconSrc
- `type` : `String`
4. logoUrl
- `type` : `String`
- `default` : `/`
###Usages
- Example of using sidebar component
```
```
```
************* `End of sidebar doc` **************
```
## Developer guide for `` component
### Folder Structure
From Laravel Application
- resources
- js
- core
- components
- layouts
- Navbar.Vue
### Register
```js
Vue.component("app-navbar", require('./components/layouts/Navbar').default);
```
### Props
1. user
- `type` : `Object`
- `required` : `true`
2. profileData
- `type` : `Array`
- `required` : `true`
3. languageData
- `type` : `Array`
- `required` : `true`
4. selectedLanguage
- `type` : `String`
- `default` : `EN`
5. notificationData
- `type` : `Array`
- `required` : `true`
6. logoUrl
- `type` : `String`
7. allNotificationUrl
- `type` : `String`
- `required` : `true`
8. showIdentifier
- `type` : `Boolean`
- `default` : `false`
### Slots
- Two slots are available. name `left-option` and `center-option`
###Events
`clicked` passes the notification object in which a user clicked
###Usages
- Example of using app-navbar component
```
```