Importing the styles for Calcite Components 5.0 doesn't work:
@fdeters
Yes, it works.
@import "@esri/calcite-components/main.css";
Thanks
Forrest
Hey Forrest, the “Import the styles” section of the Get Started page has been revised to reflect the updated behavior. Additionally, a note regarding CSS asset imports has been included in the Angular sample app setup instructions.
Looks like that documentation page hasn't been updated yet. The package.json for v5.0.0 specifies a "./main.css" export. Try using this import statement instead:
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.