DNA ATD Frontend - Vue 3 application for Illuminate Education
Vue 3 library with feature-based architecture and host-app integration helpers.
---
``bash`
npm ci
npm run dev
npm run build
---
``
src/
├── components/common/ # Shared components
├── composables/ # Reusable functions
├── features/admin/ # Feature modules
│ ├── validation/
│ └── customization/
├── layouts/ # Layout components
├── router/ # Routes
├── services/ # API & Integration
├── utils/ # Helpers
└── views/ # Main views
---
This library reads backend bootstrap data from a host-provided global object (default: window.APP_DATA) and exposes it via Vue Provide/Inject.
Provide bootstrap data from PHP:
`html`
Consume in Vue (Composition API):
`javascript
import { useBackendContext } from '@illuminateeducation/dna-atd-frontend'
const { config, user } = useBackendContext()
`
---
This package is published as an ESM-only npm library.
- Build output: dist/index.es.js + dist/index.d.tsnpm run build
- Library build:
---
- Validation Module - /admin/validation/admin/customization`
- Customization Module -
---
Built with Vue 3 + Vite + Pinia + Vuetify