feather-k-demo-utils
v0.0.28
Published
Utilities for feather-k demos only
Downloads
1,644
Maintainers
Readme
feather-k-demo-utils
Shared demo utilities for Feather K Vue component demo repositories.
Purpose
feather-k-demo-utils centralizes common demo functionality used across feather-k- demo projects, including:
- Shared demo styles
- Shared demo UI components (such as
DemoStats) - Shared utility helpers (for example, CDN/version helpers)
This package is intended for internal/demo scenarios and consistency across Feather K demos, not as a general-purpose application UI library.
What's Included
feather-k-demo-utils(root exports)- Demo components and top-level exports
feather-k-demo-utils/components- Component-focused exports
feather-k-demo-utils/utils- Utility helpers used by demo apps
feather-k-demo-utils/styles/demo.css- Demo-only stylesheet for shared demo layout and component styling
Quick Usage
Install:
npm install feather-k-demo-utilsImport demo styles once in your app entry:
import "feather-k-demo-utils/styles/demo.css";Import what you need:
import { DemoStats } from "feather-k-demo-utils";
import { getFeatherkStylesVersionFromUrl } from "feather-k-demo-utils/utils";For full integration steps (Vite env setup, stylesheet injection, and DemoStats usage), see DEMO-UTILS.md.
Publishing
Package publishing is handled via npm.
npm login
npm run build
npm publishBuild-Time Publish Date
This package does not export an in-package PUBLISH_DATE. If a consuming demo needs publish date display, inject it at build time (for example via Vite define) in the consuming app.
