Я хочу изменить root в моем приложении с angular-cli.json
или startup.cs
, когда я отлаживаю домашнюю страницу, всегда находится index.html
в папке "wwwroot".Я использую .net core 1.1.
Это мой код в angular-cli.json
:
"apps": [
{
"root": "src",
"outDir": "wwwroot",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
В чем проблема?