PrimeNg Schedule 样式不起作用
PrimeNg Schedule styles do not work
我无法让 primeng 中的日程安排样式正常工作。 Image Here
安装
npm install fullcalendar
npm install jquery
npm install moment
然后将 angular-cli.json 中的依赖包含为
在样式下添加
"../node_modules/fullcalendar/dist/fullcalendar.min.css"
并在脚本下添加
../node_modules/jquery/dist/jquery.min.js
"../node_modules/fullcalendar/dist/fullcalendar.js"
这应该可以解决问题
更新
如果您没有使用 angular-cli,请使用
<link href="node_modules/fullcalendar/dist/fullcalendar.min.css" rel="stylesheet">
在 index.html 和
'moment': 'npm:moment',
'jquery':'npm:jquery/dist/jquery.js',
'fullcalendar':'npm:fullcalendar/dist/fullcalendar.js'
在 system.config.js
我无法让 primeng 中的日程安排样式正常工作。 Image Here
安装
npm install fullcalendar
npm install jquery
npm install moment
然后将 angular-cli.json 中的依赖包含为
在样式下添加
"../node_modules/fullcalendar/dist/fullcalendar.min.css"
并在脚本下添加
../node_modules/jquery/dist/jquery.min.js
"../node_modules/fullcalendar/dist/fullcalendar.js"
这应该可以解决问题
更新
如果您没有使用 angular-cli,请使用
<link href="node_modules/fullcalendar/dist/fullcalendar.min.css" rel="stylesheet">
在 index.html 和
'moment': 'npm:moment',
'jquery':'npm:jquery/dist/jquery.js',
'fullcalendar':'npm:fullcalendar/dist/fullcalendar.js'
在 system.config.js