Repository: tigateam/tiga-ui Branch: main Commit: ba9c16433ea1 Files: 29 Total size: 11.2 KB Directory structure: gitextract_u6uy4kq8/ ├── .gitee/ │ ├── ISSUE_TEMPLATE.md │ └── PULL_REQUEST_TEMPLATE.md ├── .github/ │ ├── FUNDING.yml │ ├── ISSUE_TEMPLATE/ │ │ ├── issue-template-bug.md │ │ └── issue-template-feature.md │ ├── PULL_REQUEST_TEMPLATE/ │ │ ├── pull-request-template-feat.md │ │ └── pull-request-template-fix.md │ └── workflows/ │ └── deploy.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── README.zh-Hans.md ├── babel.config.js ├── build/ │ ├── build-base.js │ ├── build-example.js │ ├── build-lib-all.js │ ├── build-lib-components.js │ └── gen-styles.js ├── docs/ │ └── README.md ├── package.json ├── src/ │ ├── index.js │ ├── packages/ │ │ ├── button/ │ │ │ ├── index.js │ │ │ └── src/ │ │ │ └── index.vue │ │ └── link/ │ │ └── index.js │ └── styles/ │ ├── common/ │ │ └── var.styl │ ├── index.styl │ └── mixins/ │ └── mixins.styl └── website/ └── README.md ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitee/ISSUE_TEMPLATE.md ================================================ ## 1. Your usage scenarios? | 您使用的场景? ## 2. What did you do? | 您做了什么操作? ## 3. What are your problems? | 您遇到了什么问题? ## 4. What is your expected outcome? | 您期望的结果是怎样的? ================================================ FILE: .gitee/PULL_REQUEST_TEMPLATE.md ================================================ ## 详细描述 ================================================ FILE: .github/FUNDING.yml ================================================ # These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: misitebao # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username custom: #['https://blog.misitebao.com'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] ================================================ FILE: .github/ISSUE_TEMPLATE/issue-template-bug.md ================================================ --- name: Bug Template | 问题提交模板 about: Please describe in detail the problems you encountered in the process of using | 请详细描述您使用过程中遇到的问题 title: "[Bug]Some problem... | 一些问题。。。" --- #### 1. Your usage scenarios? | 您使用的场景? #### 2. What did you do? | 您做了什么操作? #### 3. What are your problems? | 您遇到了什么问题? #### 4. What is your expected outcome? | 您期望的结果是怎样的? ================================================ FILE: .github/ISSUE_TEMPLATE/issue-template-feature.md ================================================ --- name: Feature Template | 功能提交模板 about: Please describe in detail the features you expect | 请详细描述您期望的功能 title: "[Feature]Some feature... | 一些功能。。。" --- #### 1. Your usage scenarios? | 您使用的场景? #### 2. What is your expected outcome? | 您期望的结果是怎样的? ================================================ FILE: .github/PULL_REQUEST_TEMPLATE/pull-request-template-feat.md ================================================ ## New feature description | 新增功能描述 ================================================ FILE: .github/PULL_REQUEST_TEMPLATE/pull-request-template-fix.md ================================================ ## Fix bug description | 修复Bug描述 ================================================ FILE: .github/workflows/deploy.yml ================================================ # name: Deploy | 部署 # on: # push: # branches: [main] # # pull_request: # # branches: [master] # jobs: # build-and-deploy: # runs-on: ubuntu-latest # if: github.repository == 'misitebao/template-git-repository' # steps: # - name: Checkout | 切换到部署分支 # uses: actions/checkout@v2 # with: # ref: "master" # submodules: true # fetch-depth: 0 # - name: Setup Hugo | 设置Hugo环境 # uses: peaceiris/actions-hugo@v2 # with: # hugo-version: "0.81.0" # extended: true # - name: Build | 构建 # run: hugo # - name: Deploy to Server | 部署到服务器 # uses: hengkx/ssh-deploy@v1.0.1 # with: # HOST: ${{ secrets.DEPLOY_HOST }} # USERNAME: ${{ secrets.DEPLOY_HOST_USER }} # 为了用户信息安全对敏感数据可以在secrets中配置请看下图 # PASSWORD: ${{ secrets.DEPLOY_HOST_PASSWORD }} # SOURCE: "public" # TARGET: "/www/wwwroot/tigateam.org" ================================================ FILE: .gitignore ================================================ node_modules ================================================ FILE: .npmignore ================================================ node_modules build docs src test website .github .gitee .gitignore .npmignore babel.config.js ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2020 TigaTeam Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================
![]()
Tigaui is a high quality component library based on Vue
## 🌏 Internationalization [English](README.md) | [简体中文](README.zh-Hans.md) ## 📚 Contents - [Internationalization](#nav-1) - [Contents](#nav-2) - [Introductions](#nav-3) - [Official Website](#nav-3-1) - [Graphic Demo](#nav-4) - [Features](#nav-5) - [Architecture](#nav-6) - [Getting Started](#nav-7) - [Authors](#nav-8) - [Contributors](#nav-9) - [Community Exchange](#nav-9-1) - [Part Of Users](#nav-10) - [Release History](CHANGE.md) - [Donators](#nav-11) - [Sponsors](#nav-12) - [Thanks](#nav-13) - [License](#nav-14) ## ℹ️ Introductions `Tigaui` is a high quality component library based on `vue3.x` ### 🔔 Official Website [Official Website](https://tigaui.tigateam.org) ## 🌅 Graphic Demo ## ✳️ Features ## 🍊 Architecture ## 💎 Getting Started ## 🙆 Authors The author of this project: [Misitebao](https://github.com/misitebao). senior engineer, entrepreneur. ## 🌟 Contributors Thank you to all the contributors who participated in the development of Tigaui. [Contributors](https://github.com/tigateam/tiga-ui/graphs/contributors) ### 😵 Community Exchange ## 👼 Part Of Users ## ☕ Donators ## 💰 Sponsors ## 👏 Thanks
## ©️ License
[License MIT](LICENSE)
================================================
FILE: README.zh-Hans.md
================================================
![]()
Tigaui 是一个基于 Vue 的高质量组件库
## 🌏 国际化 [English](README.md) | [简体中文](README.zh-Hans.md) ## 📚 内容目录 - [国际化](#nav-1) - [内容目录](#nav-2) - [项目介绍](#nav-3) - [官方网站](#nav-3-1) - [图形演示](#nav-4) - [功能特色](#nav-5) - [架构](#nav-6) - [新手入门](#nav-7) - [关于作者](#nav-8) - [贡献者](#nav-9) - [社区交流](#nav-9-1) - [部分用户](#nav-10) - [发布记录](CHANGE.md) - [捐赠者](#nav-11) - [赞助商](#nav-12) - [特别鸣谢](#nav-13) - [版权许可](#nav-14) ## ℹ️ 项目介绍 `Tigaui` 是一个基于 `Vue3.x` 的高质量组件库 ### 🔔 官方网站 [官方网站](https://tigaui.tigateam.org) ## 🌅 图形演示 ## ✳️ 功能特色 ## 🍊 架构 ## 💎 新手入门 ## 🙆 关于作者 本项目作者:[米司特包](https://github.com/misitebao)。高级工程师,创业者。 ## 🌟 贡献者 感谢所有参与 Tigaui 开发的贡献者。[Contributors](https://github.com/tigateam/tiga-ui/graphs/contributors) ### 😵 社区交流 ## 👼 部分用户 ## ☕ 捐赠者 ## 💰 赞助商 ## 👏 鸣谢
## ©️ 版权许可
[License MIT](LICENSE)
================================================
FILE: babel.config.js
================================================
================================================
FILE: build/build-base.js
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 基础打包配置
*/
const path = require('path')
const webpack = require('webpack')
const package = require('../package.json')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = {
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
}
},
{
test: /\.js$/,
loader: 'babel-loader',
options: {
sourceMap: true,
},
exclude: /node_modules/,
},
{
test: /\.css$/,
loaders: [
{
loader: 'style-loader',
options: {
sourceMap: true,
},
},
{
loader: 'css-loader',
options: {
sourceMap: true,
},
}
]
},
{
test: /\.(gif|jpg|png|woff|svg|eot|ttf)\??.*$/,
loader: 'url-loader?limit=8192'
}
]
},
resolve: {
extensions: ['.js', '.vue'],
alias: {
'@': resolve('src')
}
},
plugins: [
new VueLoaderPlugin()
]
}
================================================
FILE: build/build-example.js
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 示例展示打包配置
*/
================================================
FILE: build/build-lib-all.js
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 全量打包配置
*/
const path = require('path');
const webpack = require('webpack');
const webpackMerge = require('webpack-merge');
const webpackBaseConfig = require('./build-base.js');
module.exports = webpackMerge(webpackBaseConfig, {
devtool: 'source-map',
mode: 'production',
entry: {
index: path.resolve(__dirname, '../src/index.js')
},
output: {
path: path.resolve(__dirname, '../lib'),
publicPath: '/lib/',
filename: 'tiga-ui.min.js',
library: 'tiga-ui',
libraryTarget: 'umd',
umdNamedDefine: true
},
externals: {
vue: {
root: 'Vue',
commonjs: 'vue',
commonjs2: 'vue',
amd: 'vue'
}
},
plugins: []
})
================================================
FILE: build/build-lib-components.js
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 单独打包单个组件
*/
================================================
FILE: build/gen-styles.js
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 单独打包样式问件
*/
================================================
FILE: docs/README.md
================================================
# 项目文档
================================================
FILE: package.json
================================================
{
"name": "@tigateam/tigaui",
"version": "0.0.1",
"description": "🎨 Tigaui is a high quality component library based on Vue",
"main": "index.js",
"scripts": {
"test": "",
"serve:doc": "",
"build:doc": "",
"build": "npm-run-all --parallel build:**",
"build:lib:all": "webpack --config build/build-lib-all.js",
"build:lib:components": "webpack --config build/build-lib-components.js",
"build:lib:styles": "",
"build:lib": "npm run build:lib:all && build:lib:components && npm run build:lib:styles",
"serve:example": "aaaa"
},
"keywords": [
"tigaui",
"tigateam",
"vue",
"components"
],
"author": "TigaTeam",
"license": "MIT",
"devDependencies": {
"npm-run-all": "^4.1.5"
}
}
================================================
FILE: src/index.js
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 打包入口文件
*/
const components = {
}
const install = function (Vue, opts = {}) {
if (install.installed) return;
// 根据传入参数配置TIGAUI
Vue.prototype.$TIGA = {
size: opts.size || '',
}
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
}
================================================
FILE: src/packages/button/index.js
================================================
import Button from './src/index.vue'
Button.install = function (Vue) {
Vue.component(`T${Button.name}`, Button);
}
export default Button
================================================
FILE: src/packages/button/src/index.vue
================================================
================================================
FILE: src/packages/link/index.js
================================================
================================================
FILE: src/styles/common/var.styl
================================================
================================================
FILE: src/styles/index.styl
================================================
/*
* @Author : MS
* @LastEditors : MS
* @Description : 样式文件入口
*/
================================================
FILE: src/styles/mixins/mixins.styl
================================================
================================================
FILE: website/README.md
================================================
# 项目官网