Skip to content

Commit 969da16

Browse files
committed
chore: add scss workaround for upgrade guide
1 parent 53dea64 commit 969da16

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docusaurus/docs/Angular/basics/upgrade-v4.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,14 @@ In case you run into an SCSS issue related to icons, you should extend the style
130130
@import "stream-chat-angular/src/assets/styles/scss/index.scss";
131131
```
132132

133+
If Angular can't find the stylesheet, you should include `node_modules` in your `angular.json` in the `build.options` section:
134+
135+
```
136+
"stylePreprocessorOptions": {
137+
"includePaths": ["./node_modules"]
138+
}
139+
```
140+
133141
No futher action is required for customers who were already using theme-v2.
134142

135143
Customers who used to use theme-v1 now need to use theme-v2. Updating from theme-v1 to theme-v2 will require to rewrite your custom CSS code as the new theme has a new variable system, and all the components were restructured. To help you get started please refer our [theming guide](../theming/introduction.mdx).

0 commit comments

Comments
 (0)