Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

27
vite Normal file
View File

@@ -0,0 +1,27 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# Vite
> Create a Vite project.
> Used to build JavaScript projects.
> Available templates: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts.
> More information: <https://vitejs.dev/guide>.
- Setup using `npm` 6.x:
`npm create vite@latest my-react-app --template react-ts`
- Setup using `npm` 7+, extra double-dash is needed:
`npm create vite@latest my-react-app -- --template react-ts`
- Setup using `yarn`:
`yarn create vite my-react-app --template react-ts`
- Setup using `pnpm`:
`pnpm create vite my-react-app --template react-ts`