A Vue 3 component library for formatting with tree-shaking support
npm install lone-formatA Vue 3 component library for formatting with tree-shaking support.
- 🎨 Multiple Themes: GitHub Light, GitHub Dark, Min Light, Slack Ochin
- 🚀 Performance Optimized: Shallow copy strategy for better performance
- 📦 Tree Shaking: Import only what you need
- 🔧 TypeScript: Full TypeScript support with type definitions
- 📖 VitePress Documentation: Comprehensive documentation with examples
``bash`
npm install lone-format
`vue
:readonly="false"
/>
`
Visit our documentation site for detailed guides and examples.
This project uses an automated CI/CD pipeline that:
- 🔄 Auto-versioning: Bumps version based on commit messages
- 📦 Auto-publishing: Publishes to npm when code is pushed to publish branch publish
- 🔀 Auto-merging: Merges branch to main after successful publish
`bash`Create feature on publish branch
git checkout -b publish
git add .
git commit -m "feat: add new feature" # Will bump minor version
git push origin publish # Triggers auto-publish
See PIPELINE.md for detailed setup instructions.
`bashInstall dependencies
npm install
MIT