I'm trying to style a default page using flexbox, but it isn't working. I have followed the step by step instructions to install primereact incluindo primeflex.
This is my package.json:
Code: Select all
{
"name": "primereact-quickstart",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fullcalendar/core": "^4.2.0",
"@fullcalendar/daygrid": "^4.2.0",
"@fullcalendar/interaction": "^4.2.0",
"@fullcalendar/timegrid": "^4.2.0",
"chart.js": "^2.8.0",
"classnames": "^2.2.6",
"fullcalendar": "^3.10.0",
"jquery": "^3.4.1",
"moment": "^2.24.0",
"primeflex": "^1.0.0-rc.1",
"primeicons": "1.0.0",
"primereact": "3.1.5",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "2.1.3",
"react-transition-group": "^1.2.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}