@pequity/squirrel 1.0.13 → 1.0.14
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 +5 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,21 +24,19 @@ Add the "Inter" font to your project's `index.html` file:
|
|
|
24
24
|
<link rel="preconnect" href="https://rsms.me/" /><link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Use the Squirrel Tailwind configuration as a `preset` in your project's `tailwind.config.cjs` file:
|
|
28
28
|
|
|
29
29
|
```js
|
|
30
|
-
|
|
31
|
-
import type { Config } from 'tailwindcss';
|
|
30
|
+
/** @type {import('@pequity/squirrel').SquirrelTailwindConfig} */
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
module.exports = {
|
|
33
|
+
presets: [require('@pequity/squirrel/tailwind/config.js')],
|
|
35
34
|
content: [
|
|
36
35
|
'./index.html',
|
|
37
36
|
'./src/**/*.{vue,js,ts,jsx,tsx,mdx}',
|
|
38
37
|
'./node_modules/@pequity/squirrel/dist/**/*.{vue,js,ts,jsx,tsx,mdx}',
|
|
39
38
|
],
|
|
40
|
-
}
|
|
41
|
-
|
|
39
|
+
};
|
|
42
40
|
```
|
|
43
41
|
|
|
44
42
|
Import and use the components you need in your Vue 3 project:
|