diff --git a/apps/www/package.json b/apps/www/package.json index c45f0129..896c739c 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -47,6 +47,7 @@ "@vue/compiler-dom": "^3.3.7", "autoprefixer": "^10.4.16", "lodash.template": "^4.5.0", + "pathe": "^1.1.1", "rimraf": "^5.0.5", "tailwind-merge": "^2.0.0", "tailwindcss": "^3.3.5", diff --git a/apps/www/src/lib/registry/registry.ts b/apps/www/src/lib/registry/registry.ts index 77a69b7b..8887e9c3 100644 --- a/apps/www/src/lib/registry/registry.ts +++ b/apps/www/src/lib/registry/registry.ts @@ -1,5 +1,5 @@ import { readFile, readdir } from 'node:fs/promises' -import { join, resolve } from 'node:path' +import { join, resolve } from 'pathe' import { compileScript, parse } from 'vue/compiler-sfc' import type { Registry } from '../../lib/registry'