Skip to content

Commit

Permalink
Fix: favicon path on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juzser committed Mar 5, 2024
1 parent 76e8bf8 commit c16890c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'vitepress';
import { defineConfig, withBase } from 'vitepress';
import { fileURLToPath } from 'url';
import { replaceCodePlugin } from 'vite-plugin-replace';
import svgLoader from 'vite-svg-loader';
Expand All @@ -20,7 +20,7 @@ export default defineConfig({
titleTemplate: ":title — Shopify Polaris Vue by ownego",
description: "Shopify Polaris for VueJS 3",
head: [
['link', { rel: 'icon', href: '/assets/images/favicon.ico' }],
['link', { rel: 'icon', href: withBase('/assets/images/favicon.ico') }],
['link', { rel: 'preconnect', href: 'https://cdn.shopify.com/' }],
['link', { rel: 'stylesheet', href: 'https://cdn.shopify.com/static/fonts/inter/inter.css', id: 'inter-font-link' }],
],
Expand Down

0 comments on commit c16890c

Please sign in to comment.