Skip to content

自定义react预设出现的问题 #242

@cpdtzy

Description

@cpdtzy

Current behavior

install eslint,prettier,husky,react-router,antd,typescript,swc,vite 导致使用的 react 里定义的 react 和 react-dom 没有正确安装。

Minimum reproduction code

https://github.com/cpdtzy

Steps to reproduce

No response

Expected behavior

template
image
generate package.json
image

Package version

@pnpm/9.4.0

Template Package

react-web-ts

Node.js version

No response

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions