Skip to content

Commit

Permalink
Merge pull request #878 from Vuepic/next
Browse files Browse the repository at this point in the history
Next
  • Loading branch information
Jasenkoo committed May 25, 2024
2 parents 7eceb72 + 69bee61 commit e64125a
Show file tree
Hide file tree
Showing 106 changed files with 1,026 additions and 934 deletions.
29 changes: 19 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,20 @@
## Install

```shell
# npm
npm install @vuepic/vue-datepicker

# yarn
yarn add @vuepic/vue-datepicker

# or
# pnpm
pnpm add @vuepic/vue-datepicker

npm install @vuepic/vue-datepicker
# bun
bun add @vuepic/vue-datepicker
```

Import and register component
### Import and register component

**Global**

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

```vue
<script>
import VueDatePicker from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';
export default {
components: { VueDatePicker }
}
<template>
<VueDatePicker v-model="date" />
</template>
<script setup>
import { ref } from 'vue';
import VueDatePicker from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';
const date = ref(null);
</script>
```

Expand Down
10 changes: 5 additions & 5 deletions docs/404.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/app.CVYlKpSz.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/app.ChivajMn.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

17 changes: 0 additions & 17 deletions docs/assets/chunks/framework.CjrMwH3y.js

This file was deleted.

17 changes: 17 additions & 0 deletions docs/assets/chunks/framework.lEU1aNid.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/assets/chunks/theme.CiyUjB6c.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/assets/chunks/theme.DV8MqL-7.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/chunks/ui-custom.41hUaQ8q.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/chunks/ui-custom.DoxApSlk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e64125a

Please sign in to comment.