Skip to content

Commit

Permalink
docs: fix rollup and vite naming
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Feb 27, 2023
1 parent d79a7c9 commit 9e0b30e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/guide/custom-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -650,11 +650,10 @@ const CustomExtension = Extension.create({
```

## Creating and publishing standalone extensions

If you want to create and publish your own extensions for Tiptap, you can use our CLI tool to bootstrap your project.
Simply run `npm init tiptap-extension` and follow the instructions. The CLI will create a new folder with a pre-configured project for you including a build script running on rollup.
Simply run `npm init tiptap-extension` and follow the instructions. The CLI will create a new folder with a pre-configured project for you including a build script running on Rollup.

If you want to test your extension locally, you can run `npm link` in the project folder and then `npm link YOUR_EXTENSION` in your project (for example a vite app).
If you want to test your extension locally, you can run `npm link` in the project folder and then `npm link YOUR_EXTENSION` in your project (for example a Vite app).

## Sharing
When everything is working fine, don’t forget to [share it with the community](https://github.com/ueberdosis/tiptap/issues/819).
When everything is working fine, don’t forget to [share it with the community](https://github.com/ueberdosis/tiptap/issues/819) or in our [awesome-tiptap](https://github.com/ueberdosis/awesome-tiptap) repository.

0 comments on commit 9e0b30e

Please sign in to comment.