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
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!