Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add api-docgen plugin #811

Merged
merged 1 commit into from
Mar 18, 2024
Merged

docs: add api-docgen plugin #811

merged 1 commit into from
Mar 18, 2024

Conversation

10Derozan
Copy link
Contributor

Summary

Related Issue

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

Copy link

netlify bot commented Mar 18, 2024

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit 1adb4cb
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/65f7f04eab2b180008525b8b
😎 Deploy Preview https://deploy-preview-811--aquamarine-blini-95325f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78 (🔴 down 12 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@10Derozan 10Derozan enabled auto-merge (squash) March 18, 2024 07:47
@10Derozan 10Derozan merged commit d25166f into main Mar 18, 2024
9 checks passed
@10Derozan 10Derozan deleted the docs/api-docgen branch March 18, 2024 07:49
@flycj
Copy link

flycj commented Apr 2, 2024

Summary

Related Issue

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

这里动态引入

import(siteDataPath).then(siteData => {

在 windows 下会报这个错误,这里有回答https://stackoverflow.com/a/70057245
参考这个做法 https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/cli-service/lib/util/loadFileConfig.js#L28

node:internal/errors:478
ErrorCaptureStackTrace(err);
^

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
at new NodeError (node:internal/errors:387:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1017:11)
at defaultResolve (node:internal/modules/esm/resolve:1097:3)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ESMLoader.import (node:internal/modules/esm/loader:525:22)
at importModuleDynamically (node:internal/modules/cjs/loader:1134:29)
at importModuleDynamicallyWrapper (node:internal/vm/module:438:21)
at importModuleDynamically (node:vm:389:46) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants