Я следовал этой статье для настройки компонентов пользовательского интерфейса:
https://github.com/akveo/nebular/blob/master/docs/articles/auth-ui.md
Но после этого началось множество ошибок из-за не найденных файлов.Статья говорит просто скопировать папку компонента.Я исправил их все, но теперь получаю сообщение об ошибке:
Module build failed: Error: C:\xampp\htdocs\utahclient\src\app\@theme\components\auth\index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
http://prntscr.com/ji9gp0
Ниже приведен мой файл tsconfig:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"plugins": [
{ "name": "tslint-language-service"}
]
}
}