Skip to content

Commit

Permalink
Update docs/README
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanreyes committed Mar 15, 2023
1 parent 1de71e0 commit 30dcb7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ app.use(VCalendar, {})

```js
// main.js
import { SetupCalendar, Calendar, DatePicker } from 'v-calendar';
import { setupCalendar, Calendar, DatePicker } from 'v-calendar';
import 'v-calendar/style.css';

// Use plugin defaults (optional)
app.use(SetupCalendar, {})
app.use(setupCalendar, {})

// Use the components
app.component('VCalendar', Calendar)
Expand All @@ -71,10 +71,10 @@ app.component('VDatePicker', DatePicker)

```js
// main.js
import { SetupCalendar } from 'v-calendar';
import { setupCalendar } from 'v-calendar';

// Use calendar defaults (optional)
app.use(SetupCalendar, {})
app.use(setupCalendar, {})
```

```vue
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ app.use(VCalendar, {})
::: code-group

```js [main.js]
import { SetupCalendar, Calendar, DatePicker } from 'v-calendar';
import { setupCalendar, Calendar, DatePicker } from 'v-calendar';
import 'v-calendar/style.css';

// Use plugin defaults (optional)
app.use(SetupCalendar, {})
app.use(setupCalendar, {})

// Use the components
app.component('VCalendar', Calendar)
Expand All @@ -85,10 +85,10 @@ app.component('VDatePicker', DatePicker)
::: code-group

```js [main.js]
import { SetupCalendar } from 'v-calendar';
import { setupCalendar } from 'v-calendar';

// Use calendar defaults (optional)
app.use(SetupCalendar, {})
app.use(setupCalendar, {})
```

```vue [MyComponent.vue]
Expand Down

0 comments on commit 30dcb7b

Please sign in to comment.