
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
You can use this project to quickly create a component library based on vue 3.0. This is a super fast and super simple way to generate vue component library!
For detailed commands, refer to the scripts
part of package.json
# Installation dependencies
npm install
# Add new component
npm run gen component-name
# Package your component library
npm run build
# Check the code specification
npm run lint
# Generate log file to release new version
npm run release
# Generate documentation related commands
npm run docs:build
# git clone
git clone https://github.com/ckpack/v-ui.git
# download zip
https://github.com/ckpack/v-ui/archive/refs/heads/main.zip
v-ui
is you-project-name
such as b-ui
ckpack
is you-github-username
such as my-github-username
The default component prefix is V
, you can choose to modify the component prefix
Modify the file src/defaultConfig.js
// modify the ouput when iife format, such as `TUI`
export const NAME = "TUI";
// Modify the default component prefix, such as `B`
export const COMPONENT_PREFIX = "B";
The default component class prefix is v-
, you can choose to modify the component class prefix
Modify the file src/styles/config.scss
// Modify the default component class prefix such as `t`
$namespace: t !default;
Use npm run gen component-name
to add new components. For example, execute the npm run gen select
command, which will generate the select
file directory under the src/components/
directory, and edit the select
under the folder. vuefile and
index.scss` file
Introduce new components in the file dev/app.vue
, execute npm run dev
to preview the new components
<template>
<div id="app">
<ConfigProvider>
+ <Select></Select>
</ConfigProvider>
</div>
</template>
<script setup>
import {
+ ConfigProvider, Select,
} from'../src';
</script>
Add the document corresponding to the component name in the docs/guide/compoents
folder, execute npm run docs:dev
to preview the document
<!-- docs/guide/compoents/select.md -->
# Select
Test component
<v-select></v-select>
FAQs
Quickly create a component library for Vue 3
The npm package 178me-v-ui receives a total of 1 weekly downloads. As such, 178me-v-ui popularity was classified as not popular.
We found that 178me-v-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.