From 435e9a6049c1c2983680605ed8914d2a4ff57f4a Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Fri, 29 Jan 2021 22:05:47 +0100 Subject: [PATCH] docs: update the integration guides --- .../guide/getting-started/alpinejs.md | 3 ++ .../guide/getting-started/intertiajs.md | 5 ++++ .../guide/getting-started/livewire.md | 3 ++ .../docPages/guide/getting-started/nextjs.md | 3 ++ .../docPages/guide/getting-started/nuxtjs.md | 2 +- .../docPages/guide/getting-started/react.md | 3 ++ .../docPages/guide/getting-started/svelte.md | 8 +++++- .../getting-started/{vue-cli.md => vuejs.md} | 28 +++++-------------- docs/src/links.yaml | 6 ++-- 9 files changed, 35 insertions(+), 26 deletions(-) rename docs/src/docPages/guide/getting-started/{vue-cli.md => vuejs.md} (79%) diff --git a/docs/src/docPages/guide/getting-started/alpinejs.md b/docs/src/docPages/guide/getting-started/alpinejs.md index 5a73adf27..74de0b442 100644 --- a/docs/src/docPages/guide/getting-started/alpinejs.md +++ b/docs/src/docPages/guide/getting-started/alpinejs.md @@ -2,6 +2,9 @@ ## toc +## Introduction +The following guide describes how to integrate tiptap with your [Alpine.js](https://github.com/alpinejs/alpine) project. + TODO https://codesandbox.io/s/alpine-tiptap-2ro5e?file=/index.html:0-1419 diff --git a/docs/src/docPages/guide/getting-started/intertiajs.md b/docs/src/docPages/guide/getting-started/intertiajs.md index 1b1a7cd78..d4f05a506 100644 --- a/docs/src/docPages/guide/getting-started/intertiajs.md +++ b/docs/src/docPages/guide/getting-started/intertiajs.md @@ -2,6 +2,11 @@ ## toc +## Introduction +The following guide describes how to integrate tiptap with your [Inertia.js](https://inertiajs.com/) project. + +## toc + TODO ## Introduction diff --git a/docs/src/docPages/guide/getting-started/livewire.md b/docs/src/docPages/guide/getting-started/livewire.md index 4085a9a8d..bba3daef6 100644 --- a/docs/src/docPages/guide/getting-started/livewire.md +++ b/docs/src/docPages/guide/getting-started/livewire.md @@ -2,6 +2,9 @@ ## toc +## Introduction +The following guide describes how to integrate tiptap with your [Livewire](https://laravel-livewire.com/) project. + TODO editor.blade.php diff --git a/docs/src/docPages/guide/getting-started/nextjs.md b/docs/src/docPages/guide/getting-started/nextjs.md index db54da0df..10ad2d60a 100644 --- a/docs/src/docPages/guide/getting-started/nextjs.md +++ b/docs/src/docPages/guide/getting-started/nextjs.md @@ -2,6 +2,9 @@ ## toc +## Introduction +The following guide describes how to integrate tiptap with your [Next.js](https://nextjs.org/) project. + TODO diff --git a/docs/src/docPages/guide/getting-started/nuxtjs.md b/docs/src/docPages/guide/getting-started/nuxtjs.md index 2d31d4885..6893d9221 100644 --- a/docs/src/docPages/guide/getting-started/nuxtjs.md +++ b/docs/src/docPages/guide/getting-started/nuxtjs.md @@ -3,7 +3,7 @@ ## toc ## Introduction -The following guide describes how to integrate tiptap with your Nuxt.js project. +The following guide describes how to integrate tiptap with your [Nuxt.js](https://nuxtjs.org/) project. ## Requirements * [Node](https://nodejs.org/en/download/) installed on your machine diff --git a/docs/src/docPages/guide/getting-started/react.md b/docs/src/docPages/guide/getting-started/react.md index 263665650..b7d6acfc7 100644 --- a/docs/src/docPages/guide/getting-started/react.md +++ b/docs/src/docPages/guide/getting-started/react.md @@ -2,6 +2,9 @@ ## toc +## Introduction +The following guide describes how to integrate tiptap with your [React](https://reactjs.org/) project. + TODO diff --git a/docs/src/docPages/guide/getting-started/svelte.md b/docs/src/docPages/guide/getting-started/svelte.md index 3e991fd75..d7dcafcc6 100644 --- a/docs/src/docPages/guide/getting-started/svelte.md +++ b/docs/src/docPages/guide/getting-started/svelte.md @@ -1,5 +1,10 @@ # Svelte +## toc + +## Introduction +The following guide describes how to integrate tiptap with your Svelte project. + TODO Svelte REPL: https://svelte.dev/repl/c839da77db2444e5b23a752266613639?version=3.31.2 @@ -15,7 +20,7 @@ App.svelte Editor.svelte ```html - ``` -## 5. Add it to your app +## 4. Add it to your app Now, let’s replace the content of `src/App.vue` with the following example code to use our new `Tiptap` component in our app. ```html @@ -112,7 +98,7 @@ export default { You should now see tiptap in your browser. You’ve successfully set up tiptap! Time to give yourself a pat on the back. Let’s start to configure your editor in the next step. -## 6. Use v-model (optional) +## 5. Use v-model (optional) You’re probably used to bind your data with `v-model` in forms, that’s also possible with tiptap. Here is a working example component, that you can integrate in your project: diff --git a/docs/src/links.yaml b/docs/src/links.yaml index 0c547d711..8688b4acd 100644 --- a/docs/src/links.yaml +++ b/docs/src/links.yaml @@ -6,11 +6,11 @@ link: /overview/installation - title: Upgrade Guide link: /overview/upgrade-guide - - title: Contributing - link: /overview/contributing - title: Become a sponsor link: /sponsor type: sponsor + - title: Contributing + link: /overview/contributing - title: Examples link: /examples @@ -50,7 +50,7 @@ link: /guide/getting-started items: - title: Vue.js 2 - link: /guide/getting-started/vue-cli + link: /guide/getting-started/vuejs skip: true - title: Nuxt.js link: /guide/getting-started/nuxtjs