Skip to content

bug: 初始化项目,生成文档时,产生的文件有部分放到以本地路径命名的目录里 #1377

Closed
@ZhiRongYuan

Description

@ZhiRongYuan

Versions
dumi: 2.0.14
node: 16.13.0
yarn: 1.22.17
OS: window
Browser: chrome

Steps to reproduce
通过 npx create-dumi 创建的React Library项目

npm run docs:build 生成站点文档

What is Expected?
部署后能正常访问

What is actually happening?
站点无法正常访问,资源引用不到,部分文件生成的目录有问题
image

Activity

PeachScript

PeachScript commented on Dec 15, 2022

@PeachScript
Member

请按 issue 模板提供完整复现信息,只有截图没法看问题

ZhiRongYuan

ZhiRongYuan commented on Dec 16, 2022

@ZhiRongYuan
Author

请按 issue 模板提供完整复现信息,只有截图没法看问题

已更新issue

ZhiRongYuan

ZhiRongYuan commented on Dec 16, 2022

@ZhiRongYuan
Author

Mac是正常的 window有问题

changed the title [-]bug: 初始化项目,生成文档时,产生的文件有部分放到了新创建以本地项目目录为目录名的目录里[/-] [+]bug: 初始化项目,生成文档时,产生的文件有部分放到以本地路径命名的目录里[/+] on Dec 16, 2022
PeachScript

PeachScript commented on Jan 28, 2023

@PeachScript
Member

v2.1.5 已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @PeachScript@ZhiRongYuan

        Issue actions

          bug: 初始化项目,生成文档时,产生的文件有部分放到以本地路径命名的目录里 · Issue #1377 · umijs/dumi