1 篇文章
Angular设置别名alias的方法 - web开发
设置别名
在根目录下tsconfig.json中添加baseUrl和paths
{
"compilerOptions": {
"baseUrl": "src",
"paths": {
"@app/*": ["app/*"],
"@assets/*": ["asset...
在根目录下tsconfig.json中添加baseUrl和paths
{
"compilerOptions": {
"baseUrl": "src",
"paths": {
"@app/*": ["app/*"],
"@assets/*": ["asset...
0
108