Hi,
Am creating a PCF control using prime react. the individual react app works fine. But when I call the react file from PFC index file its giving errors associated with CSS files. please find the below error.
RROR in ./PCFReactElementComponent/CSS/theme.css 1:0
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> @charset "UTF-8";
| :root {
| --primaryColor: #007ad9;
@ ./PCFReactElementComponent/App.tsx 45:0-26
@ ./PCFReactElementComponent/index.ts
below is the import section in
import './CSS/primereact.min.css';
import './CSS/theme.css';
import './CSS/primeicons.css';
import {DataTable} from 'primereact/datatable';
import {Column} from 'primereact/column';
Please advise.
Also, has anyone used multiple CSS files in PCF, do we just have to mention all the files in the manifest?
Many thanks in advance