You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getStarted.adoc
+41-13Lines changed: 41 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,19 +113,58 @@ Independently you need to add to `angular.json` a new line to assets like this:
113
113
114
114
It will copy on *npm build* the content of *core/dist* folder to *dist* folder in the angular app, that is deployed on *ng serve* and will give you access to assets like images, icons, etc. exported by DB UI Core. Don't forget to add it to any necessary configuration part included, like e.g. `projects.PROJECTNAME.architect.build.options` as well as `projects.PROJECTNAME.architect.test.options`
115
115
116
-
### Use scss files:
116
+
### Use SCSS files:
117
117
118
118
You can use the overall scss file or pick the relevant parts.
119
119
E.g. you can import the overall scss files to your `src/styles.scss` by adding the following imports based on your bundler in use.
120
120
121
-
#### Webpack based bundlers (e.g. Angular or Vue CLI)
121
+
#### Rollup based bundlers (e.g. Parcel, Vite)
122
+
123
+
For Rollup based bundlers like Vite or Parcel we're providing the following SCSS endpoint:
124
+
125
+
#####`@use` syntax
126
+
127
+
[source,scss]
128
+
----
129
+
@use "@db-ui/core/sources/css/rollup.assets-paths" as rollupAssetsPaths;
130
+
@use "@db-ui/core/sources/css/enterprise/db-ui-core" with (
0 commit comments