ultimate-core-ui
v0.1.8
Published
Ultimate core UI Library is a Vue 3-based component library built on top of Vuetify for modern and responsive UIs.
Maintainers
Readme
⚓ Ultimate Core UI
Ultimate Core UI is a Vue 3 component library built on top of Vuetify, offering a modern, accessible, and consistent design system for building beautiful applications faster.
🚀 Features
- Vue 3 + TypeScript
- Vuetify-based components
- Storybook documentation
- Vite library build
- Tree-shakable imports
- Theming support
🧰 Commands
# Start Storybook
npm run storybook
# Run tests
npm run test
# Build library
npm run build🧹 Linting & Formatting
This project includes ESLint and Prettier configurations for Vue 3 + TypeScript.
Install dev dependencies and run the linters:
npm install
npm run lint # check for lint errors
npm run lint:fix # auto-fix fixable lint issues
npm run format # format files with Prettier📦 Generating Type Declarations
This project uses vite-plugin-dts to emit TypeScript declaration files alongside the build output. To generate .d.ts files:
- Install dependencies using npm:
npm install- Run the build (this will produce
dist/*.jsanddist/index.d.ts):
npm run buildIf you're in a monorepo, ensure the package's tsconfig.json is configured to include the correct paths, or pass a custom tsconfig path in vite.config.ts (the plugin supports that option).
📥 Importing components
This library supports multiple import patterns depending on your needs.
- Individual import (tree-shakable, recommended for apps):
import UButton from 'ultimate-core-ui/components/UButton';
export default {
components: { UButton },
};- Barrel import from package entry (convenient for grouped imports):
import { UButton } from 'ultimate-core-ui';
export default {
components: { UButton },
};- Plugin install (registers all components globally):
import UltimateCoreUI from 'ultimate-core-ui';
import { createApp } from 'vue';
import App from './App.vue';
const app = createApp(App);
app.use(UltimateCoreUI);
app.mount('#app');Notes:
- The examples above reference the
srcentry in this repository for local development. When consuming the published package, import from the package name (for example,import { UButton } from 'ultimate-core-ui') — the build output will preserve the same public API. - Prefer individual imports in production apps to reduce bundle size.
