Skip to content

Commit ad86422

Browse files
authored
Merge pull request #1218 from Ser5/main
Installation docs: fixed wrong import line
2 parents 30d8154 + e25bb54 commit ad86422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/installation/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Then import and register component
3939
**Note**: `css` file is imported separately
4040

4141
```js
42-
import VueDatePicker from '@vuepic/vue-datepicker';
42+
import { VueDatePicker } from '@vuepic/vue-datepicker';
4343
import '@vuepic/vue-datepicker/dist/main.css'
4444
```
4545

@@ -138,4 +138,4 @@ export default defineNuxtConfig({
138138
})
139139
```
140140

141-
That's it, you are ready to go
141+
That's it, you are ready to go

0 commit comments

Comments
 (0)