diff --git a/examples/vue/App.vue b/examples/vue/App.vue new file mode 100644 index 0000000..3a58368 --- /dev/null +++ b/examples/vue/App.vue @@ -0,0 +1,13 @@ + + + \ No newline at end of file diff --git a/examples/vue/README.md b/examples/vue/README.md new file mode 100644 index 0000000..0ff7cfd --- /dev/null +++ b/examples/vue/README.md @@ -0,0 +1,20 @@ +# VueJs 3.x Example of a Speed Highlight Component + +## Install + +```console +$ pnpm i @speed-highlight/core +``` + +## SpeedHighlight.vue + +This is a simple component that wraps `speed-highlight` and makes it easier to use in your Vue app. +It takes two props: `content` & `lang` - and you can include it in your pages like this: + +```vue + +``` + +## App.vue + +Simplified example page/parent, to show how you include `` on a page. diff --git a/examples/vue/SppedHighlight.vue b/examples/vue/SppedHighlight.vue new file mode 100644 index 0000000..8ffa9f0 --- /dev/null +++ b/examples/vue/SppedHighlight.vue @@ -0,0 +1,17 @@ + + + \ No newline at end of file