About 230 results
Open links in new tab
  1. Vite | Next Generation Frontend Tooling

    Vite. Next Generation Frontend Tooling. Get ready for a development environment that can finally catch up with you.

  2. Vite

    Rollup-superset plugin interface shared between dev and build. 🔑 Fully Typed APIs. Flexible programmatic APIs with full TypeScript typing.

  3. Getting Started | Vite - v3.vitejs.dev

    Running vite starts the dev server using the current working directory as root. You can specify an alternative root with vite serve some/sub/dir. Command Line Interface # In a project where Vite is installed, you can use the vite binary in your npm scripts, or run it directly with npx vite. Here are the default npm scripts in a scaffolded Vite ...

  4. Vite | 下一代的前端工具链

    We've found building SolidStart that it is less a metaframework but a system of symbiotic Vite plugins. While built with SolidJS in mind, they should scale from our simplest template to opinionated starter.

  5. 开始 | Vite 官方中文文档

    执行 vite 命令会以当前工作目录作为根目录启动开发服务器。你也可以通过 vite serve some/sub/dir 来指定一个不同的根目录。 需要注意的是,Vite 也会在项目的根目录中寻找 它的配置文件(即 vite.config.js),所以如果更改了根目录,你需要将配置文件一起移动过去。

  6. Why Vite | Vite - v2.vitejs.dev

    When cold-starting the dev server, a bundler-based build setup has to eagerly crawl and build your entire application before it can be served. Vite improves the dev server start time by first dividing the modules in an application into two categories: dependencies and source code.

  7. 环境变量和模式 | Vite 官方中文文档

    默认情况下,Vite 在 vite/client.d.ts 中为 import.meta.env 提供了类型定义。 随着在 .env[mode] 文件中自定义了越来越多的环境变量,你可能想要在代码中获取这些以 VITE_ 为前缀的用户自定义环境变量的 TypeScript 智能提示。

  8. Features | Vite - v4.vitejs.dev

    At the very basic level, developing using Vite is not that much different from using a static file server. However, Vite provides many enhancements over native ESM imports to support various features that are typically seen in bundler-based setups.

  9. Building for Production | Vite - v2.vitejs.dev

    The production bundle assumes support for modern JavaScript. By default, Vite targets browsers which support the native ESM script tag and native ESM dynamic import. As a reference, Vite uses this browserslist query:

  10. JavaScript API | Vite - v2.vitejs.dev

    Vite's JavaScript APIs are fully typed, and it's recommended to use TypeScript or enable JS type checking in VS Code to leverage the intellisense and validation. createServer # Type Signature: