Description
Facebook ships the route module and settings page used to manage the Enso Facebook integration.
Installation
Install the package:
yarn add @enso-ui/facebook
The package is usually consumed from the full enso-ui workspace inside an Enso application.
Features
- registers the
/integrations/facebook/settingsroute module - renders the integration settings screen through
EnsoForm - resets the form key after the initial save so create flows can continue cleanly
- plugs into the backend-driven settings contract exposed by the Laravel Enso package
Usage
import integrations from '@enso-ui/facebook/src/bulma/routes/integrations.js';
import FacebookSettings from '@enso-ui/facebook/src/bulma/pages/integrations/settings/Index.vue';
API
Route modules
The package is page-oriented and is typically consumed through its route module.
Common imports:
@enso-ui/facebook/src/bulma/routes/integrations.js@enso-ui/facebook/src/bulma/routes/integrations/facebook.js@enso-ui/facebook/src/bulma/routes/integrations/facebook/settings.js@enso-ui/facebook/src/bulma/pages/integrations/settings/Index.vue
Settings page
The shipped page wraps EnsoForm and listens to the form submit and ready lifecycle to refresh the instance after the first successful save.
Routes
/integrations/facebook/settings
Route name:
integrations.facebook.settings.index
Page:
src/bulma/pages/integrations/settings/Index.vue
The page is the frontend shell for the backend-driven Facebook settings form.
Companion Backend Package
Depends On
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!