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

Add vitest-preview setup CLI #14

Open
nvh95 opened this issue Oct 25, 2022 · 0 comments
Open

Add vitest-preview setup CLI #14

nvh95 opened this issue Oct 25, 2022 · 0 comments

Comments

@nvh95
Copy link
Owner

nvh95 commented Oct 25, 2022

Is your feature request related to a problem? Please describe.

When integrating vitest-preview, beside installing pnpm add -D vitest-preview, users need to do some other things like:

  • Set vitest config css: true
  • Setup global CSS
  • Add vitest-preview to package.json's scripts
  • Update .gitignore
  • Add debug() to a test file

Describe the solution you'd like

  • Add a new CLI vitest-preview setup
  • Update the docs to recommend new approach

Describe how should we implement this feature

Consider https://github.com/nvh95/jest-preview/blob/61648e16e455f4eb561c267c9f7d897c953e6dcb/cli/index.js

Additional context

People usually integrate vitest-preview by running pnpm add -D vitest-preview and it's very easy for them to forget to config a thing.

@nvh95 nvh95 changed the title Setup CLI Add vitest-preview setup CLI Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant