We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
``### Question 本地打开打包的docs-dist文件,页面打开空白
`import { defineConfig } from 'dumi'; export default defineConfig({ outputPath: 'docs-dist', themeConfig: { name: '文档', },
}); `
The text was updated successfully, but these errors were encountered:
构建产物不支持用 file:// 形式直接访问 index.html,需要使用 http-server 或站点托管服务托管,比如 nginx 或 GitHub Pages
Sorry, something went wrong.
dumi配置文件设置exportStatic: false,然后重新打个包试试
exportStatic: false
No branches or pull requests
``### Question
本地打开打包的docs-dist文件,页面打开空白
Sample Code
`import { defineConfig } from 'dumi';
export default defineConfig({
outputPath: 'docs-dist',
themeConfig: {
name: '文档',
},
});
`
The text was updated successfully, but these errors were encountered: