Skip to content

enso-ui/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,017 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

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

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

MIT

About

Laravel Enso UI

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors