mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
4a89766d83
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
public | ||
src | ||
_gitignore | ||
index.html | ||
package.json | ||
README.md | ||
vite.config.js |
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.
export default defineConfig({
plugins: [
qwikVite({
csr: true,
}),
],
})
Use npm create qwik@latest
to create a full production ready Qwik application, using SSR and QwikCity, our server-side metaframwork.
Usage
$ npm install # or pnpm install or yarn install
Learn more on the Qwik Website and join our community on our Discord
Available Scripts
In the project directory, you can run:
npm run dev
Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
npm run build
Builds the app for production to the dist
folder.