diff --git a/docs/src/components/Hint/index.vue b/docs/src/components/Hint/index.vue
deleted file mode 100644
index e774dac0..00000000
--- a/docs/src/components/Hint/index.vue
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/src/components/Hint/style.scss b/docs/src/components/Hint/style.scss
deleted file mode 100644
index c6f1a912..00000000
--- a/docs/src/components/Hint/style.scss
+++ /dev/null
@@ -1,10 +0,0 @@
-.hint {
- padding: 1rem;
- border: 2px solid rgba($colorBlack, 0.1);
- border-radius: 0.25rem;
-
- &--warning {
- border-color:#ffd8a8;
- background-color: #fff4e6;
- }
-}
\ No newline at end of file
diff --git a/docs/src/docPages/getting-started.md b/docs/src/docPages/getting-started.md
index c1745d09..2c7cf2a2 100644
--- a/docs/src/docPages/getting-started.md
+++ b/docs/src/docPages/getting-started.md
@@ -22,11 +22,9 @@ Create a new Vue component (you can call it ``) and add the following
-
-
+::: warning Using with Nuxt.js
If you are using **Nuxt.js**, note that tiptap needs to run in the client, not on the server. Wrapping the editor in a `` tag is **required**.
-
-
+:::
Congrats! You’ve got it! 🎉 Let’s start to build your editor in the next step.
diff --git a/docs/src/main.js b/docs/src/main.js
index 3b225b13..20d8c32f 100644
--- a/docs/src/main.js
+++ b/docs/src/main.js
@@ -10,7 +10,6 @@ import ReactRenderer from '~/components/ReactRenderer'
export default function (Vue, { router, head, isClient }) {
Vue.component('Layout', App)
Vue.component('Demo', Demo)
- Vue.component('Hint', Hint)
Vue.component('Tab', Tab)
Vue.component('ReactRenderer', ReactRenderer)
}
diff --git a/docs/src/templates/DocPage/style.scss b/docs/src/templates/DocPage/style.scss
index 659c2717..7457935d 100644
--- a/docs/src/templates/DocPage/style.scss
+++ b/docs/src/templates/DocPage/style.scss
@@ -142,5 +142,21 @@
}
}
+ .remark-container {
+ padding: 1rem;
+ border: 2px solid rgba($colorBlack, 0.1);
+ border-radius: 0.25rem;
+
+ &.warning {
+ border-color:#ffd8a8;
+ background-color: #fff4e6;
+ }
+
+ .remark-container-title {
+ font-weight: 600;
+ color: #ca9c63;
+ }
+ }
+
}
}
\ No newline at end of file