Skip to content

Commit 379e160

Browse files
committed
docs: Update docs
1 parent aeffefe commit 379e160

3 files changed

Lines changed: 3 additions & 18 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default defineConfig({
1919
nav: [
2020
{ text: 'Guide', link: '/guide/what-is-vuejs-tour' },
2121
{
22-
text: '2.4.1',
22+
text: '2.4.2',
2323
items: [
2424
{
2525
text: 'Changelog',

docs/guide/create-a-tour.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ First of all, you need to create an array of steps. Each step should have a `tar
2323
```
2424

2525
After creating the steps, you need to pass them to the `VTour` component as a prop.
26-
```vue{2}
26+
```vue
2727
<template>
2828
<VTour/> // [!code --]
2929
<VTour :steps="steps"/> // [!code ++]

docs/guide/getting-started.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can try VueJS Tour directly in your browser on [StackBlitz](https://stackbli
77
## Installation
88

99
### Prerequisites
10-
- [Node.js](https://nodejs.org/) version 18.3 or higher.
10+
- [Node.js](https://nodejs.org/) version 20 or higher.
1111
- [Vue 3.x](https://vuejs.org/) or higher.
1212
- Terminal for installing VueJS Tour.
1313

@@ -50,20 +50,5 @@ We are also importing the default styles of VueJS Tour.
5050
<HelloWorld msg="Vite + Vue" />
5151
</template>
5252
```
53-
::: danger Breaking Changes
54-
Since version 2.0.1, VueJS Tour has been rewritten in TypeScript. The `VTour` component is now a named export and must be imported as such.
55-
::: details Version 1.x.x
56-
Import the plugin in your application entry point (`main.js`) file.
57-
```js{3,4,7}
58-
import { createApp } from "vue";
59-
import App from "./App.vue";
60-
import VueJsTour from '@globalhive/vuejs-tour';
61-
import '@globalhive/vuejs-tour/dist/style.css';
62-
63-
const app = createApp(App)
64-
.use(VueJsTour)
65-
.mount("#app");
66-
```
67-
:::
6853

6954
Everything is now set up, and you can start [creating your first tour](./create-a-tour).

0 commit comments

Comments
 (0)