From 30dcb7ba11535674a1480f64fbf11a5465ff0acf Mon Sep 17 00:00:00 2001 From: Nathan Reyes Date: Wed, 15 Mar 2023 17:20:35 -0500 Subject: [PATCH] Update docs/README --- README.md | 8 ++++---- docs/getting-started/installation.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index dadb9ae72..97403365c 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 74956fb85..1f92edec8 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -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) @@ -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]