Skip to content

bug: 安装了移动端主题不生效 #2316

@annnhan

Description

@annnhan

Version

v2.4.23

OS Version

window 10

Node.js Version

v25.1.0

Browser Version

edge 145.0.3800.82

Link to minimal reproduction

Steps to reproduce

通过下面的命令安装文档安装了移动端主题:

npm i dumi-theme-mobile@^2.0.0 -D

并配置 .dumirc.ts 如下:

  themeConfig: {
    // 高清方案
    hd: { rules: [] },
  },

What is expected?

demo切换成移动端主题。

What is actually happening?

但是demo还是默认主题的,并没切换成功。

Any additional comments? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions