@easy-cms/admin
@easy-cms/admin
The admin UI of Easy CMS, a prebuilt Vue 3 app that talks to the REST API. Part of Easy CMS, the embedded, code-first headless CMS for Nuxt and Next.js.
Internal: the framework adapters (@easy-cms/nuxt, @easy-cms/next) and easy-cms serve
install and serve it at /admin. You don't need to install it yourself.
- Dashboard, lists with search, filters, columns, bulk actions and tree views
- Forms for every field type, rich text (Tiptap), relationships, blocks and the media library
- Drafts, version history, live preview, scheduled publishing and translations
- English and Thai, light and dark themes, plugin components
Serving it yourself
import { createAdminHandler } from '@easy-cms/admin'
const admin = createAdminHandler({ basePath: '/admin', apiPath: '/api/cms', locale: 'th' })
// (request: Request) => Promise<Response>: static assets + the HTML shell with security headers
For static hosting, serve dist/app at the admin path and answer every other admin route with
renderShell(readFileSync('dist/app/shell.html', 'utf8'), options) plus SECURITY_HEADERS.
Developing
pnpm --dir examples/nuxt-blog dev # an Easy CMS API on :3000
pnpm --dir packages/admin dev # Vite on :5173, proxies /api/cms to :3000
Links
Documentation (ภาษาไทย) · GitHub
MIT License
Related Packages
Pages for the WebX UI admin panel: the tree of a site's pages, their addresses,...
Blog for the WebX UI admin panel: articles made of blocks, rubrics and tags, sch...
Version History
| Version | Released | License |
|---|---|---|
| 1.4.2 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.68.5 | MIT | |
| 0.68.4 | MIT | |
| 0.68.3 | MIT | |
| 0.68.2 | MIT | |
| 0.68.1 | MIT | |
| 0.68.0 | MIT | |
| 0.67.2 | MIT | |
| 0.67.1 | MIT | |
| 0.67.0 | MIT | |
| 0.66.1 | MIT | |
| 0.66.0 | MIT | |
| 0.65.0 | MIT | |
| 0.64.0 | MIT | |
| 0.63.0 | MIT | |
| 0.62.0 | MIT | |
| 0.61.0 | MIT | |
| 0.60.0 | MIT | |
| 0.49.0 | MIT | |
| 0.48.0 | MIT | |
| 0.47.4 | MIT | |
| 0.47.3 | MIT | |
| 0.47.2 | MIT |
Showing the latest 30 of 87. See every release on npm
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 1.0.0-rc.0 | MIT |