Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuer committed Nov 17, 2023
1 parent a357792 commit a4013ee
Show file tree
Hide file tree
Showing 5 changed files with 8,291 additions and 7,266 deletions.
3 changes: 3 additions & 0 deletions demo/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ if (process.client) {
}
useSchemaOrg([
defineOrganization({
name: 'Add to Calendar'
}),
defineWebSite({
name: 'Add to Calendar Button',
image: ['https://add-to-calendar-button.com/assets/img/website1x1.png','https://add-to-calendar-button.com/assets/img/website4x3.png','https://add-to-calendar-button.com/assets/img/website16x9.png']
Expand Down
3 changes: 1 addition & 2 deletions demo/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const baseUrl = process.env.NUXT_PUBLIC_SITE_URL || 'https://add-to-calendar-but
const robots = process.env.NUXT_PUBLIC_ROBOTS || 'index, follow';

export default defineNuxtConfig({
modules: ['@nuxtjs/i18n', '@nuxtjs/tailwindcss', 'nuxt-headlessui', 'nuxt-security', 'nuxt-schema-org', '@vite-pwa/nuxt', 'nuxt-simple-sitemap', 'nuxt-delay-hydration'],
modules: ['@nuxtjs/i18n', '@nuxtjs/tailwindcss', 'nuxt-headlessui', 'nuxt-security', '@vite-pwa/nuxt', 'nuxt-simple-sitemap', 'nuxt-schema-org', 'nuxt-delay-hydration'],
vue: {
compilerOptions: {
// treat all tags starting with "add-" as custom elements
Expand Down Expand Up @@ -126,7 +126,6 @@ export default defineNuxtConfig({
host: baseUrl,
url: baseUrl,
name: 'Add to Calendar Button',
tagPosition: 'head',
},
pwa: {
registerType: 'autoUpdate',
Expand Down
Loading

0 comments on commit a4013ee

Please sign in to comment.