Skip to content

Commit e64125a

Browse files
authored
Merge pull request #878 from Vuepic/next
Next
2 parents 7eceb72 + 69bee61 commit e64125a

File tree

106 files changed

+1026
-934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1026
-934
lines changed

README.md

+19-10
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,20 @@
4040
## Install
4141

4242
```shell
43+
# npm
44+
npm install @vuepic/vue-datepicker
45+
46+
# yarn
4347
yarn add @vuepic/vue-datepicker
4448

45-
# or
49+
# pnpm
50+
pnpm add @vuepic/vue-datepicker
4651

47-
npm install @vuepic/vue-datepicker
52+
# bun
53+
bun add @vuepic/vue-datepicker
4854
```
4955

50-
Import and register component
56+
### Import and register component
5157

5258
**Global**
5359

@@ -65,13 +71,16 @@ app.component('VueDatePicker', VueDatePicker);
6571
**Local**
6672

6773
```vue
68-
<script>
69-
import VueDatePicker from '@vuepic/vue-datepicker';
70-
import '@vuepic/vue-datepicker/dist/main.css';
71-
72-
export default {
73-
components: { VueDatePicker }
74-
}
74+
<template>
75+
<VueDatePicker v-model="date" />
76+
</template>
77+
78+
<script setup>
79+
import { ref } from 'vue';
80+
import VueDatePicker from '@vuepic/vue-datepicker';
81+
import '@vuepic/vue-datepicker/dist/main.css';
82+
83+
const date = ref(null);
7584
</script>
7685
```
7786

docs/404.html

+5-5
Large diffs are not rendered by default.

docs/assets/app.CVYlKpSz.js

-1
This file was deleted.

docs/assets/app.ChivajMn.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/chunks/VPAlgoliaSearchBox.CkEcfs-x.js renamed to docs/assets/chunks/VPAlgoliaSearchBox.CZvOaWSZ.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/chunks/framework.CjrMwH3y.js

-17
This file was deleted.

docs/assets/chunks/framework.lEU1aNid.js

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/chunks/theme.CiyUjB6c.js

-2
This file was deleted.

docs/assets/chunks/theme.DV8MqL-7.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/chunks/ui-custom.41hUaQ8q.js

-1
This file was deleted.

docs/assets/chunks/ui-custom.DoxApSlk.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/customization_theming_index.md.BpjJx8qn.js renamed to docs/assets/customization_theming_index.md.B14pbxHZ.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/customization_theming_index.md.BpjJx8qn.lean.js renamed to docs/assets/customization_theming_index.md.B14pbxHZ.lean.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)