-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jingqiwei
committed
Jun 21, 2023
0 parents
commit 6cbb319
Showing
126 changed files
with
22,744 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
coverage | ||
*.local | ||
|
||
docs/.vuepress/.cache | ||
docs/.vuepress/.temp | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 只有编译后的 dist 目录、package.json、README.md是需要被发布的 | ||
# 忽略目录 | ||
.DS_Store | ||
.vscode/ | ||
node_modules | ||
packages/ | ||
public/ | ||
src/ | ||
docs/ | ||
|
||
# 忽略指定文件 | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmignore | ||
.npmrc | ||
.prettierrc.json | ||
components.d.ts | ||
env.d.ts | ||
index.html | ||
pnpm-lock.yaml | ||
stats.html | ||
tsconfig.config.json | ||
tsconfig.json | ||
vite.config.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Q UI | ||
|
||
Q UI 是一套基于 `Vue3` + `TypeScript` 开发的 UI 组件库。 | ||
|
||
总结前端 UI 组件库和介绍文档搭建的经验,同时封装一些项目中常用的组件,提高编码效率。 | ||
|
||
## 特性 | ||
|
||
本组件库的实现尽量不采用第三方库,主要提供 **按钮、** 等简洁易用的组件。 | ||
|
||
本组件库主要用于个人学习交流使用,不可用于生产环境。[源代码](https://github.com/jqw755/q-ui) 。 | ||
|
||
## 安装使用 | ||
|
||
```bash | ||
pnpm i @jqw755/q-ui | ||
# or | ||
npm install @jqw755/q-ui | ||
# or | ||
yarn add @jqw755/q-ui | ||
``` | ||
|
||
Import and register component | ||
|
||
**Global** | ||
|
||
```ts | ||
import { createApp } from "vue" | ||
import App from "./App.vue" | ||
|
||
import QUI from "@jqw755/q-ui" | ||
import "@jqw755/q-ui/css" | ||
|
||
const app = createApp(App) | ||
app.use(QUI) | ||
``` | ||
|
||
**Local** | ||
|
||
```vue | ||
<script setup lang="ts"> | ||
import { QButton } from "@jqw755/q-ui" | ||
import "@jqw755/q-ui/css" | ||
</script> | ||
``` | ||
|
||
## Components | ||
|
||
| Component name | Descriptions | | ||
| -------------- | ------------ | | ||
| QBreadcrumb | 面包屑 | | ||
| QButton | 按钮 | | ||
| QSelect | 下拉菜单 | | ||
|
||
**Global** | ||
|
||
[CSDN](https://blog.csdn.net/qq_21473443) |
Binary file not shown.
Oops, something went wrong.