@enso-ui/ui
UI
Description
Application shell and core layout services for Enso UI.
Installation
Install the package:
yarn add @enso-ui/ui
Features
- exports the application root shell used by Enso UI apps
- provides route mapping, HTTP, i18n, toastr, and error handling through Vue inject
- switches between auth, home, and default layouts based on app state
- includes an ESM-safe event bus with
$on,$once,$off, and$emit - normalizes shared Bulma styles, including compact
.tag.is-smallsizing - adds the shell-owned
System > Loginsroute and page for the backend login history table
Usage
<script setup>
import Root from '@enso-ui/ui/bulma';
</script>
<Root v-slot="{ home, isAuth }">
<router-view v-if="isAuth || home" />
</Root>
API
Root
Application root shell that provides the shared Enso providers, route mapper, global error handler, and layout switching logic.
Depends On
- No additional Enso UI dependencies.
Contributions
are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!
License
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 7.1.61 | MIT | |
| 7.1.60 | MIT | |
| 7.1.59 | MIT | |
| 7.1.58 | MIT | |
| 7.1.57 | MIT | |
| 7.1.55 | MIT | |
| 7.1.54 | MIT | |
| 7.1.52 | MIT | |
| 7.1.51 | MIT | |
| 7.1.50 | MIT | |
| 7.1.49 | MIT | |
| 7.1.48 | MIT | |
| 7.1.46 | MIT | |
| 7.1.45 | MIT | |
| 7.1.44 | MIT | |
| 7.1.43 | MIT | |
| 7.1.42 | MIT | |
| 7.1.41 | MIT | |
| 7.1.40 | MIT | |
| 7.1.39 | MIT | |
| 7.1.38 | MIT | |
| 7.1.37 | MIT | |
| 7.1.36 | MIT | |
| 7.1.35 | MIT | |
| 7.1.34 | MIT | |
| 7.1.33 | MIT | |
| 7.1.32 | MIT | |
| 7.1.31 | MIT | |
| 7.1.30 | MIT | |
| 7.1.29 | MIT |
Showing the latest 30 of 428. See every release on npm