Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
selimdoyranli committed May 9, 2023
1 parent 2a925ea commit 2976033
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default defineAppConfig({
docus: {
title: 'v-dropdown-menu',
description: 'Customizable dropdown menu for vue 🟩🔽',
image: '/media/preview.png',
image: '/media/preview.jpg',
socials: {
twitter: 'startupekibi',
github: 'RadKod/v-dropdown-menu'
Expand Down
4 changes: 2 additions & 2 deletions docs/components/AppDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
</template>

<script setup>
import DropdownMenu from '../../dist/vue3/v-dropdown-menu.mjs'
import '../../dist/vue3/v-dropdown-menu.css'
import DropdownMenu from 'v-dropdown-menu'
import '/node_modules/v-dropdown-menu/dist/vue3/v-dropdown-menu.css'
</script>

<style scoped>
Expand Down
4 changes: 2 additions & 2 deletions docs/components/AppDropdownAdvanced.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
</template>

<script setup>
import DropdownMenu from '../../dist/vue3/v-dropdown-menu.mjs'
import '../../dist/vue3/v-dropdown-menu.css'
import DropdownMenu from 'v-dropdown-menu'
import '/node_modules/v-dropdown-menu/dist/vue3/v-dropdown-menu.css'
const writeToConsoleForOpened = value => {
console.log(value, 'opened')
Expand Down
4 changes: 2 additions & 2 deletions docs/components/AppDropdownWithCloser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</template>

<script setup>
import DropdownMenu from '../../dist/vue3/v-dropdown-menu.mjs'
import '../../dist/vue3/v-dropdown-menu.css'
import DropdownMenu from 'v-dropdown-menu'
import '/node_modules/v-dropdown-menu/dist/vue3/v-dropdown-menu.css'
</script>

<style scoped>
Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.guide/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Customizable dropdown menu for vue 🟩🔽
💉 SSR compatible &nbsp;
</p>

![v-dropdown-menu](https://raw.githubusercontent.com/RadKod/v-dropdown-menu/master/meta/preview.png){width="256"}
![v-dropdown-menu](https://raw.githubusercontent.com/RadKod/v-dropdown-menu/master/meta/preview.jpg){width="320"}

## Installation

Expand Down
4 changes: 3 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@
"eslint": "^8.35.0",
"nuxt": "3.3.3"
},
"dependencies": {}
"dependencies": {
"v-dropdown-menu": "^2.0.1"
}
}
5 changes: 5 additions & 0 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6647,6 +6647,11 @@ uvu@^0.5.0:
kleur "^4.0.3"
sade "^1.7.3"

v-dropdown-menu@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/v-dropdown-menu/-/v-dropdown-menu-2.0.1.tgz#89763104fad89d60e535850e041af78f069cbc7f"
integrity sha512-AoCL3G63zK6oIs0AS6e9C2rguNb6PZb9t1GmzvWYQ1cw4uHf7xTNzRMQpu23H2rlCErV2rXbhdsYkGtHp+Eljg==

vfile-location@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.1.0.tgz#69df82fb9ef0a38d0d02b90dd84620e120050dd0"
Expand Down

0 comments on commit 2976033

Please sign in to comment.