{"id":21493,"library":"jtui-vite","title":"jtui-vite","description":"Vue 3 UI component library built with Vite, version 1.0.24. Designed for Vue 3 projects using Vite as the bundler. It depends on Vue 3 and Element Plus as peer dependencies. Provides a set of reusable UI components with a focus on integration with Element Plus. The library is published as an npm package and is intended for use in modern Vue 3 applications. Current release cadence is not documented; likely irregular minor updates.","status":"active","version":"1.0.24","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","vue3","ui","component","vite","jtui"],"install":[{"cmd":"npm install jtui-vite","lang":"bash","label":"npm"},{"cmd":"yarn add jtui-vite","lang":"bash","label":"yarn"},{"cmd":"pnpm add jtui-vite","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required as peer dependency for UI components","package":"element-plus","optional":false},{"reason":"Core framework required as peer dependency","package":"vue","optional":false}],"imports":[{"note":"ESM only; use import syntax. Typical usage: import jtui from 'jtui-vite' then app.use(jtui).","wrong":"const jtui = require('jtui-vite')","symbol":"jtui-vite","correct":"import jtui from 'jtui-vite'"},{"note":"Named export for individual component. May require registration.","wrong":"","symbol":"Button","correct":"import { Button } from 'jtui-vite'"},{"note":"Named export for individual component. May require registration.","wrong":"","symbol":"Input","correct":"import { Input } from 'jtui-vite'"}],"quickstart":{"code":"import { createApp } from 'vue';\nimport jtui from 'jtui-vite';\nimport 'jtui-vite/dist/style.css';\nimport App from './App.vue';\n\nconst app = createApp(App);\napp.use(jtui);\napp.mount('#app');","lang":"typescript","description":"Shows how to install and use the jtui-vite library in a Vue 3 project with Vite, including global registration via app.use()."},"warnings":[{"fix":"Add element-plus and vue to your project's dependencies.","message":"Requires peer dependencies: element-plus and vue. Not installed automatically; you must install them manually.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Use `import jtui from 'jtui-vite'` and `app.use(jtui)` to register all components, or import individual components as named exports if documented.","message":"Package provides default export only for app.use; named exports for individual components might not work without proper tree-shaking setup.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Add the CSS import to your entry file.","message":"CSS must be imported separately: `import 'jtui-vite/dist/style.css'`.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `npm install jtui-vite` and ensure it's in package.json dependencies.","cause":"Missing dependency or incorrect import path.","error":"Cannot find module 'jtui-vite' or its corresponding type declarations."},{"fix":"Add `import jtui from 'jtui-vite'` and `app.use(jtui)` in your main.js/ts.","cause":"Component not globally registered via app.use().","error":"Unknown custom element <jt-button> - did you register the component correctly?"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}