# Angular CLI + Angular.json

### Angular.json file&#x20;

<https://angular.io/guide/workspace-config> is the official doc of this important file.

### Use absolute part for import of ts module&#x20;

Change the `compilerOptions` in the tsConfig.json

{% embed url="<https://scotch.io/tutorials/reference-angular-imports-absolutely-for-easier-development>" %}

### Use absolute path for @import in scss files

* **In tests :**&#x20;

project > test > options > "stylePreprocessorOptions": { "includePaths": \["path1", "path2"] }

{% embed url="<https://scotch.io/tutorials/angular-shortcut-to-importing-styles-files-in-components>" %}

### Create an angular project using a specific angular version&#x20;

```
npx @angular/cli@7 new Angular7Project
```

>
