Merge pull request #49 from nurRiyad/riyad/social-share
Add social share option
This commit is contained in:
@@ -53,6 +53,7 @@ export default defineNuxtConfig({
|
|||||||
'@nuxtjs/color-mode',
|
'@nuxtjs/color-mode',
|
||||||
'nuxt-simple-sitemap',
|
'nuxt-simple-sitemap',
|
||||||
'@nuxtjs/tailwindcss',
|
'@nuxtjs/tailwindcss',
|
||||||
|
'@stefanobartoletti/nuxt-social-share',
|
||||||
],
|
],
|
||||||
|
|
||||||
content: {
|
content: {
|
||||||
|
|||||||
4255
package-lock.json
generated
4255
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -18,12 +18,13 @@
|
|||||||
"@nuxtjs/fontaine": "^0.4.1",
|
"@nuxtjs/fontaine": "^0.4.1",
|
||||||
"@nuxtjs/robots": "^3.0.0",
|
"@nuxtjs/robots": "^3.0.0",
|
||||||
"@nuxtjs/tailwindcss": "^6.11.4",
|
"@nuxtjs/tailwindcss": "^6.11.4",
|
||||||
|
"@stefanobartoletti/nuxt-social-share": "^0.6.1",
|
||||||
"@tailwindcss/forms": "^0.5.7",
|
"@tailwindcss/forms": "^0.5.7",
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"@vueuse/core": "^10.9.0",
|
"@vueuse/core": "^10.9.0",
|
||||||
"@vueuse/nuxt": "^10.9.0",
|
"@vueuse/nuxt": "^10.9.0",
|
||||||
"eslint": "^8.39.0",
|
"eslint": "^8.39.0",
|
||||||
"nuxt": "^3.11.1",
|
"nuxt": "^3.11.2",
|
||||||
"nuxt-icon": "^0.6.8",
|
"nuxt-icon": "^0.6.8",
|
||||||
"nuxt-og-image": "^3.0.0-rc.38",
|
"nuxt-og-image": "^3.0.0-rc.38",
|
||||||
"nuxt-simple-sitemap": "^4.2.0",
|
"nuxt-simple-sitemap": "^4.2.0",
|
||||||
|
|||||||
@@ -109,5 +109,16 @@ defineOgImageComponent('Test', {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<BlogToc />
|
<BlogToc />
|
||||||
|
|
||||||
|
<div class="flex flex-row gap-2">
|
||||||
|
<SocialShare
|
||||||
|
v-for="network in ['facebook', 'twitter', 'linkedin', 'email']"
|
||||||
|
:key="network"
|
||||||
|
:network="network"
|
||||||
|
:styled="true"
|
||||||
|
:label="false"
|
||||||
|
class="p-4"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user