Vite Deno Example

screenshot of Vite Deno Example

Example of using Vite with Deno

Overview

This is an example repository showcasing the integration of Vite with Deno. The repo is based on a deno-vue template from create-vite-extra and requires Deno v1.28 or later for running. Deployment is carried out using Deno Deploy and Git integration as part of the CI pipeline.

Features

  • Live Site: A live site showcasing the Vite with Deno integration.
  • File Extension Requirement: Use .mjs or .mts extension for the vite.config.[ext] file.
  • Peer Dependencies Papercut: Requirement to reference peer dependencies in vite.config.js, like the vue package in this example.

Summary

The Vite + Deno example repository demonstrates the integration of Vite with Deno, emphasizing the usage of specific file extensions and addressing the "papercut" for Deno users regarding peer dependencies in vite.config.js. Deployment is facilitated through Deno Deploy and Git integration, enhancing the development and deployment process for users.