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

Unclear documentation for bootstrapping with React #587

Open
2 tasks
AntonOfTheWoods opened this issue Nov 21, 2022 · 0 comments
Open
2 tasks

Unclear documentation for bootstrapping with React #587

AntonOfTheWoods opened this issue Nov 21, 2022 · 0 comments
Assignees
Labels
docs Documentation

Comments

@AntonOfTheWoods
Copy link

Build tool

Vite

Where do you see the problem?

  • In the browser
  • In the terminal

Describe the bug

The React docs are missing information if one follows them exactly. It looks like there is a standard "install like this" that suggests you should create a vanilla JS vite project but then gives a vite.config.js config that includes plugin-react, which obviously doesn't get installed. My guess is that each sub-type should have their own install instructions rather than just using vanilla JS.

Reproduction

Try and install by following the React instructions exactly.

Notice the missing lib

Logs

No response

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 18.98 GB / 31.04 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.17.1 - ~/.asdf/installs/nodejs/16.17.1/bin/node
    npm: 8.15.0 - ~/.asdf/plugins/nodejs/shims/npm
  Browsers:
    Chrome: 107.0.5304.110
    Firefox: 107.0
  npmPackages:
    @crxjs/vite-plugin: ^2.0.0-beta.6 => 2.0.0-beta.6 
    vite: ^3.2.3 => 3.2.4

Severity

annoyance

@jacksteamdev jacksteamdev added the docs Documentation label Nov 21, 2022
@jacksteamdev jacksteamdev self-assigned this Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation
Projects
None yet
Development

No branches or pull requests

2 participants