@mixd-id/web-scaffold
v0.2.260801002
Published
This scaffold based on express vitejs vuejs
Downloads
1,724
Readme
Web Scaffold for mixd.id
@mixd-id/web-scaffold — the shared Vue 3 + Tailwind UI framework and utility library used by mixd CMS front ends (client: Vue 3 + Vite, server: Node.js ESM).
- Getting started — installation, plugin setup, Tailwind theme, WebSocket client/server, utilities.
- Component docs — per-component usage and props.
Quick start
// main.js of a Vite + Vue 3 app
import webScaffold from '@mixd-id/web-scaffold'
app.use(webScaffold) // registers all components globally (lazy) + directives + $util helpers// tailwind.config.js
module.exports = {
content: [
'./src/**/*.{vue,js}',
'./node_modules/@mixd-id/web-scaffold/src/**/*.{vue,js}',
],
plugins: [require('@mixd-id/web-scaffold/themes/default')],
}This package ships uncompiled sources — the consuming app's Vite build compiles it. Within the monorepo it is consumed via "file:../web-scaffold", so changes here are picked up without a publish step.
