mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: remove tilde from Sass imports for CLI (#13926)
Under the current build of Angular CLI ( with Angular Material v.7.0.2), adding the `~` in the @import command is unnecessary.
This commit is contained in:
committed by
Jeremy Elbourn
parent
eb59e56eaf
commit
44f616a929
+1
-1
@@ -35,7 +35,7 @@ Available pre-built themes:
|
||||
If you're using Angular CLI, this is as simple as including one line
|
||||
in your `styles.css` file:
|
||||
```css
|
||||
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
|
||||
@import '@angular/material/prebuilt-themes/deeppurple-amber.css';
|
||||
```
|
||||
|
||||
Alternatively, you can just reference the file directly. This would look something like:
|
||||
|
||||
Reference in New Issue
Block a user