@311devs/primeng

中文文档
6.1.4-6发布于 2019/08/09MIT零依赖近 30 天下载 1942
原始使用文档

License: MIT Join the chat at https://gitter.im/primefaces/primeng npm version Build Status

PrimeNG

UI Components for Angular

See PrimeNG homepage for live showcase and documentation.

alt text

PrimeNG is a collection of rich UI components for Angular. All widgets are open source and free to use under MIT License. PrimeNG is developed by PrimeTek Informatics, a vendor with years of expertise in developing open source UI solutions. For project news and updates, please follow us on twitter and visit our blog.

  • 80+ Components: The most complete set of native widgets featuring 80+ easy to use components for all your UI requirements.

  • Open Source: Hosted at GitHub, all widgets are open source and free to use under MIT license. Feel the power of open source.

  • Productivity: Allocate your valuable time on business logic rather than dealing with the complex user interface requirements.

  • Themes: Don't get tied up in just one look&feel. Choose from a variety of options including material and flat design.

  • Templates: Professionally designed highly customizable native Angular CLI application templates to get started in no time.

  • Mobile: Enhanced mobile user experience with touch optimized responsive design elements.


Download

PrimeNG is available at NPM, if you have an existing application run the following command to download it to your project.

npm install primeng --save
npm install primeicons --save

Angular CLI Integration

Add PrimeNG and PrimeIcons as a dependencies.

"dependencies": {
  //...
  "primeng": "^6.1.2",
  "primeicons": "^1.0.0-beta.10"
},

Configure required styles at the styles section, example below uses the Nova Light theme.

"styles": [
  "node_modules/primeng/resources/themes/nova-light/theme.css",
  "node_modules/primeng/resources/primeng.min.css",
  "node_modules/primeicons/primeicons.css",
  //...
],

That is all, you may now import PrimeNG components, for a working example visit the PrimeNG CLI QuickStart sample at GitHub.

版本与发布记录

@311devs/primeng 共发布 98 个版本,首次发布于 2017/08/23;过去 12 个月发布了 0 个版本。

版本发布日期距今
6.1.4-6latest2019/08/097 年前
6.1.4-52019/08/067 年前
6.1.4-42019/08/067 年前
6.1.4-32018/10/098 年前
6.1.4-22018/10/058 年前
6.0.1-282018/09/208 年前

关于 @311devs/primeng 的常见问题

@311devs/primeng 是什么?

[](https://gitter.im/primefaces/primeng?ut

如何安装 @311devs/primeng?

在项目目录运行 npm install @311devs/primeng,或使用 pnpm add / yarn add / bun add。

@311devs/primeng 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/311devs__primeng 是否存在。

@311devs/primeng 可以商用吗?

@311devs/primeng 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@311devs/primeng 的下载量有多少?

根据 npm 官方下载统计,@311devs/primeng 在 2026/10/05 – 2026/11/03 这 30 天内被下载 1,942 次,日均约 65 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@311devs/primeng 还在维护吗?

最新版本 6.1.4-6 发布于 2019/08/09(7 年前);至今共发布 98 个版本,其中过去 12 个月发布了 0 个;首次发布于 2017/08/23。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。