Skip to content

Comments

docs: embed setup instructions for Angular CLI & Analog#21

Open
yjaaidi wants to merge 3 commits intomainfrom
docs/update-setup-instructions
Open

docs: embed setup instructions for Angular CLI & Analog#21
yjaaidi wants to merge 3 commits intomainfrom
docs/update-setup-instructions

Conversation

@yjaaidi
Copy link
Contributor

@yjaaidi yjaaidi commented Feb 4, 2026

No description provided.

@yjaaidi yjaaidi requested a review from shairez February 4, 2026 15:16
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 4, 2026

Open in StackBlitz

npm i https://pkg.pr.new/vitest-community/vitest-browser-angular@21

commit: 9c5676c

1. Set up Vitest

```sh
pnpm add -D vitest-browser-angular
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Just noticed that the previous example was using pnpm.
Let's document npm instead of pnpm because pnpm users know how to translate that. It doesn't work the other way.
Documenting all options is an alternative but while it works with tabs, it pollutes in a flat README like this.


```sh
pnpm add -D vitest-browser-angular
npm add -D @analogjs/platform @nx/devkit vitest-browser-angular
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫤 we need to add the @nx/devkit package.
Cf. analogjs/analog#2055

```


## Zone.js and Zoneless Setup
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Maybe Zone.js vs. Zoneless Setup instead.

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

Successfully merging this pull request may close these issues.

1 participant