VS Code сообщает о следующей ошибке:
Код: Выделить всё
Cannot find module or type declarations for side-effect import of '~/styles/layout/layout.css'
Мой tsconfig.json включает в себя:
Код: Выделить всё
"compilerOptions": {
"paths": {
"~/*": ["./src/*"]
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"**/*.cjs",
"**/*.js",
"**/*.css",
".next/types/**/*.ts"
],
}
Спасибо.
Подробнее здесь: https://stackoverflow.com/questions/797 ... scss-files
Мобильная версия