5 Star 7 Fork 4

OpenTiny / ng

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

logo 图片

TinyNG

基于 Angular + TypeScript 的企业级 Web UI 组件库。

English | 简体中文

特性

  • 70+ 开箱即用的高质量 Angular 组件。
  • 支持 OnPush 模式。
  • 使用 TypeScript 开发。
  • 利用 CSS variables 提供强大的主题配置能力。
  • 支持 5 种 国际化语言。

支持环境

  • Angular >=13.0.0
  • 现代浏览器
Edge Firefox Chrome Safari
last 3 versions last 3 versions last 3 versions last 2 versions

安装

$ npm install @opentiny/ng

使用

将想要使用的组件模块引入到你的模块中。

import { TiButtonModule } from '@opentiny/ng';

@NgModule({
  imports: [ TiButtonModule ]
})
export class AppModule {
}

然后在 angular.json 文件中引入全局样式文件。

{
  "styles": [
+    "node_modules/@opentiny/ng-themes/styles.css",
+    "node_modules/@opentiny/ng-themes/theme-default.css",
  ]
}

可参考官网 快速上手 了解更多。

开发

$ git clone 代码仓 clone 地址
$ cd ng
$ npm install
$ npm start

浏览器会自动打开。

更新日志

详细的变更内容请在 change logs 查看。

常见问题

我们已经收集了一常见问题常见问题。在提 issue 前,请先在常见问题中查找你的问题是否已有答案。

如何贡献

我们欢迎所有的贡献。请随时贡献代码或提出您的想法。

在提交你的任何想法之前,请先阅读我们的贡献指南

授权协议

MIT

The MIT License Copyright (c) 2022 - present TinyUI Authors. Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. 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.

简介

OpenTiny-Angular技术栈UI组件库 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/opentiny/ng.git
git@gitee.com:opentiny/ng.git
opentiny
ng
ng
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891