fix: docs errors page giving an actual error

This commit is contained in:
limes
2026-08-17 21:33:29 +02:00
parent f8b17e4be9
commit e89f4b0509
4 changed files with 7 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ Testing findings:
idk jvs, seems to work on my machine... and yours too now???
- [ ] docs errors page, ironically, gives an error
- [X] docs errors page, ironically, gives an error
- [X] docs headings are very purple
- [X] docs codeblocks *not* very purple
- [X] docs index page redirect should be in config, not as a page

1
package-lock.json generated
View File

@@ -27,6 +27,7 @@
"eslint": "^9.39.5",
"feed": "^6.0.0",
"hcaptcha": "^0.2.0",
"mlly": "^1.8.2",
"mongodb": "^7.5.0",
"nice-grpc": "^2.1.17",
"node-stdlib-browser": "^1.2.0",

View File

@@ -32,6 +32,7 @@
"eslint": "^9.39.5",
"feed": "^6.0.0",
"hcaptcha": "^0.2.0",
"mlly": "^1.8.2",
"mongodb": "^7.5.0",
"nice-grpc": "^2.1.17",
"node-stdlib-browser": "^1.2.0",

View File

@@ -1,6 +1,9 @@
<script setup lang="ts">
import { refDebounced } from '@vueuse/core';
import { createTextMaskInputElement } from 'text-mask-core';
import { interopDefault } from 'mlly';
// Nuxt hates commonjs modules. this fixes them
import * as tmcModule from 'text-mask-core';
const { createTextMaskInputElement } = interopDefault(tmcModule);
const query = ref('');
const maskInput = createTextMaskInputElement(undefined);