We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77521c2 commit 42c18dbCopy full SHA for 42c18db
docs/.vitepress/config/shared.ts
@@ -2,6 +2,8 @@ import { defineConfig } from 'vitepress';
2
import { whyframe } from '@whyframe/core';
3
import { whyframeVue } from '@whyframe/vue';
4
5
+const isProd = process.env.NODE_ENV === 'production';
6
+
7
export const shared = defineConfig({
8
title: 'Responsive Toolkit',
9
description:
@@ -22,6 +24,7 @@ export const shared = defineConfig({
22
24
},
23
25
26
vite: {
27
+ base: !isProd ? '/' : '/responsive-toolkit/',
28
plugins: [
29
whyframe({
30
/**
docs/eslint.config.mjs
@@ -37,6 +37,8 @@ export default defineConfig(
37
varsIgnorePattern: '^_',
38
39
],
40
41
+ 'node/prefer-global/process': 'off',
42
43
44
);
0 commit comments