代码拉取完成,页面将自动刷新
采购价格管理系统前端UI演示
ionic 3.19 angular 5.10 primeng 6.0 echarts ngx-echarts
git clone https://gitee.com/pyuyan/threedemo.git
cd threedemo
npm install
IONIC引入PRIMENG UI库方法:
npm install primeng@6.0.0 --save
npm install @angular/animations@5.2.10 --save
npm install @angular/router@5.2.11 --save
npm install font-awesome@4.7.0 --save
npm install primeicons --save
新建文件夹assets\primecss
复制node_modules\primeicons文件夹到premecss下
复制node_modules\primeng\resources\themes\omega\文件夹下所有内容到premecss下
index.html内添加
<link rel="stylesheet" type="text/css" href="assets/primecss/primeicons/primeicons.css" />
<link rel="stylesheet" type="text/css" href="assets/primecss/theme.css" />
<link rel="stylesheet" type="text/css" href="assets/primecss/primeng.min.css" />
<link rel="stylesheet" type="text/css" href="assets/primecss/font-awesome.min.css" />
app.module.ts添加引用
import { BrowserAnimationsModule,NoopAnimationsModule } from '@angular/platform-browser/animations';
然后根据需要引用primeui相关module,参考https://www.primefaces.org/primeng/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。