Answers for ".p-grid primeng not working"

1

.p-grid primeng not working

// make sure PrimeNG and PrimeFlex are installed

npm install primeng --save
npm install primeflex --save

// add the css links to angular.json file

"./node_modules/primeng/resources/primeng.css",
"./node_modules/primeflex/primeflex.css"

// in your html file

<div class="p-grid">
	<div class="p-col">1</div>
	<div class="p-col">2</div>
	<div class="p-col">3</div>
</div>
Posted by: Guest on January-28-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language