Skip to content

Commit

Permalink
docs: Add steps to custom theme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pboivin committed Aug 5, 2023
1 parent 34540af commit 7f0c4e9
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ In an effort to align with Filament's theming methodology you will need to use a
@import 'tippy.js/dist/tippy.css';
```

2. Add the plugin's views to your `tailwind.config.js` file.
2. Add the tippy.js package to your dev dependencies.

```sh
npm install --save-dev tippy.js
```

3. Add the plugin's views to your `tailwind.config.js` file.

```js
content: [
Expand All @@ -41,6 +47,24 @@ content: [
]
```

4. Add the `tailwindcss/nesting` plugin to your `postcss.config.js` file.

```js
module.exports = {
plugins: {
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
},
}
```

5. Rebuild your custom theme.

```sh
npm run build
```

## Upgrading from 2.x to 3.x

1. Output is now set with an Enum, please update your files to use `TiptapOutput` in all place where you are setting the output, including the config file.
Expand Down

0 comments on commit 7f0c4e9

Please sign in to comment.