|
Canada-0-EngraversGeneral selskapets Kataloger
|
Firma Nyheter:
- Getting Started | Vite
See create-vite for more details on each supported template: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts Community Templates # create-vite is a tool to quickly start a project from a basic template for popular frameworks
- Vite
Vite Next Generation Frontend Tooling Get Started Learn More 💡 Instant Server Start On demand file serving over native ESM, no bundling required! ⚡️ Lightning Fast HMR Hot Module Replacement (HMR) that stays fast regardless of app size 🛠️ Rich Features
- Getting Started | Vite (main branch)
create-vite is a tool to quickly start a project from a basic template for popular frameworks Check out Awesome Vite for community maintained templates that include other tools or target different frameworks
- Building for Production | Vite
With Vite, you can use your index html for that purpose to get the smooth development experience When it is time to bundle your library for distribution, use the build lib config option Make sure to also externalize any dependencies that you do not want to bundle into your library, e g vue or react:
- Vite | Next Generation Frontend Tooling
Vite Next Generation Frontend Tooling Get ready for a development environment that can finally catch up with you
- Backend Integration | Vite
If you want to serve the HTML using a traditional backend (e g Rails, Laravel) but use Vite for serving assets, check for existing integrations listed in Awesome Vite If you need a custom integration, you can follow the steps in this guide to configure it manually
- Deploying a Static Site | Vite
These guides provide instructions for performing a static deployment of your Vite site Vite also supports Server Side Rendering SSR refers to front-end frameworks that support running the same application in Node js, pre-rendering it to HTML, and finally hydrating it on the client
- Building for Production | Vite
With Vite, you can use your index html for that purpose to get the smooth development experience When it is time to bundle your library for distribution, use the build lib config option Make sure to also externalize any dependencies that you do not want to bundle into your library, e g vue or react:
- Dependency Pre-Bundling | Vite
This is Vite performing what we call "dependency pre-bundling" This process serves two purposes: CommonJS and UMD compatibility: During development, Vite's dev serves all code as native ESM Therefore, Vite must convert dependencies that are shipped as CommonJS or UMD into ESM first
- Env Variables and Modes | Vite
By default, Vite provides type definition for import meta env in vite client d ts While you can define more custom env variables in env [mode] files, you may want to get TypeScript IntelliSense for user-defined env variables which prefixed with VITE_
|
|