@oxide/design-system 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,3 +108,14 @@ export const opts: Options = {
|
|
|
108
108
|
The full UI library is housed within the web console repo. The components included in this
|
|
109
109
|
package are those reused across other Oxide sites. When using them, remember to also import
|
|
110
110
|
their associated stylesheets.
|
|
111
|
+
|
|
112
|
+
Be sure to add the components path to the `tailwind.config.js` to ensure the appropriate
|
|
113
|
+
styles are included. For example:
|
|
114
|
+
|
|
115
|
+
```ts
|
|
116
|
+
content: [
|
|
117
|
+
'./libs/**/*.{ts,tsx,mdx}',
|
|
118
|
+
'./app/**/*.{ts,tsx}',
|
|
119
|
+
'node_modules/@oxide/design-system/components/**/*.{ts,tsx,jsx,js}',
|
|
120
|
+
],
|
|
121
|
+
```
|