Skip to content

Commit

Permalink
Set the base parameter for production.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Apr 22, 2024
1 parent e0fcf0e commit fd6d6c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import examplesPath from '../examples/[example].paths.js';
export default defineConfig({
title: "vue-maplibre-gl",
description: "Vue 3 plugin for maplibre-gl",
base: process.env.NODE_ENV === 'production' ? '/vue-maplibre-gl/': '/',
transformPageData: (pageData, { siteConfig }) => {
if (pageData.filePath.startsWith('examples/') && pageData.filePath != 'examples/index.md') {
return {
Expand Down

0 comments on commit fd6d6c8

Please sign in to comment.