Код: Выделить всё
{
"name": "rapp",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/styled": "^11.13.0",
"@here/maps-api-for-javascript": "^1.58.0",
"@mui/material": "^6.1.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.112",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"leaflet-routing-machine": "^3.2.12",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
"selenium": "^2.20.0",
"selenium-webdriver": "^4.26.0",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
}
}
< /code>
Как я могу импортировать таблицы стилей из пакета NPM? Что -то вроде импорта .css в моем index.html у меня есть:
Код: Выделить всё
Подробнее здесь: https://stackoverflow.com/questions/794 ... pm-package