UNPKG

create-vite

Version:

> **Compatibility Note:** > Vite requires [Node.js](https://nodejs.org/en/) version 20.19+, 22.12+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

39 lines (25 loc) 995 B
# Qwik + Vite ## Qwik in CSR mode This starter is using a pure CSR (Client-Side Rendering) mode. This means, that the application is fully bootstrapped in the browser. Most of Qwik innovations however take advantage of SSR (Server-Side Rendering) mode. ```ts export default defineConfig({ plugins: [ qwikVite({ csr: true, }), ], }) ``` Use `npm create qwik@latest` to create a full production ready Qwik application, using SSR and [QwikCity](https://qwik.dev/docs/qwikcity/), our server-side metaframwork. ## Usage ```bash $ npm install # or pnpm install or yarn install ``` Learn more on the [Qwik Website](https://qwik.dev) and join our community on our [Discord](https://qwik.dev/chat) ## Available Scripts In the project directory, you can run: ### `npm run dev` Runs the app in the development mode.<br> Open [http://localhost:5173](http://localhost:5173) to view it in the browser. ### `npm run build` Builds the app for production to the `dist` folder.<br>