Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@4tw/ui-app-layout
Advanced tools
yarn install
yarn dev
yarn build
yarn test-unit
yarn test-e2e
yarn release
Requires vue@2.x, vuetify@2.x and lodash@4.x
Install the package in your project
yarn add @4tw/ui-app-layout
Register the component in your project
import AppLayout from '@4tw/ui-app-layout'
export default {
name: 'MyAwesomeComponent',
components: { AppLayout },
}
Use the component in your projects template
<template>
<AppLayout>
<!-- Your code goes here -->
</AppLayout>
</template>
Props
Name | Type | Default | Description |
---|---|---|---|
apps | Array | [] | The apps listed in the AppSwitcher |
currentApp | Object | null | The current selected app in the AppSwitcher |
customer | String | '' | Will be listed in the toolbar next to the AppSwitcher |
version | String | '' | Will be listed next to the company attribution |
showHelp | Boolean | false | Enables the Help Button |
showFeedback | Boolean | false | Enables the feedback Button |
miniVariant | Boolean | false | Enables the mini variant of the navigation |
Events
Name | Description |
---|---|
help | Emits when the help button has been clicked |
feedback | Emits when the feedback button has been clicked |
update:current-app | Emits the current app when the current app has been changed |
update:mini-variant | Emits the current state of the mini variant when the mini variant has been changed |
Slots
Name | Description |
---|---|
navigation-main | Slot to fill in the navigation items |
navigation-root | Slot to replace the whole navigation drawer |
toolbar-main | Slot to fill in the left section of the toolbar |
toolbar-root | Slot to replace the whole toolbar |
toolbar-actions | Slot to fill in actions for the toolbar next to the user menu |
fallback-app | Slot to define an app when no other apps are available |
usermenu | Slot to fill in the usermenu |
avatar | Slot to replace the whole avatar |
avatar-image | Slot to set image of the user avatar |
default | Slot to define the content section. Usually needs a v-main to work properly |
[1.0.0-alpha.6] - 2021-06-21
FAQs
## Project setup ``` yarn install ```
The npm package @4tw/ui-app-layout receives a total of 1 weekly downloads. As such, @4tw/ui-app-layout popularity was classified as not popular.
We found that @4tw/ui-app-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.