Documents
Description
Custom frontend package for managing Documents, Document Types, and Document Type Categories within the Enso UI ecosystem.
This package provides Vue pages and Vue Router route definitions for the full CRUD administration of document types and their associated categories, as well as viewing documents attached to profiles.
It is backend-driven and works in tandem with the laravel-enso/documents backend companion package.
Structure
src/
├── pages/
│ ├── administration/
│ │ ├── documentTypeCategories/ # Create, Edit, Index
│ │ └── documentTypes/ # Create, Edit, Index + fields/
│ └── documents/ # Document pages
└── routes/
├── administration/
│ ├── documentTypeCategories.js
│ └── documentTypes.js
└── documents.js
Features
- Full CRUD pages for Document Type Categories
- Full CRUD pages for Document Types with support for Document Type Fields
- Document listing pages linked to profiles
- Vue Router route definitions ready to be registered in the app router
Usage
Import and register the routes in your Vue Router configuration:
import documentTypes from '@enso-ui/documents-custom/src/routes/administration/documentTypes';
import documentTypeCategories from '@enso-ui/documents-custom/src/routes/administration/documentTypeCategories';
import documents from '@enso-ui/documents-custom/src/routes/documents';
Companion Backend Package
The backend companion provides the route definitions, controllers, models, form builders, and table builders used by these frontend pages.