esbuild plugin for resolving and loading Vue.js 3 SFCs. This plugin is meant to mimick the default Vue CLI behaviour, for example it supports path aliases defined in the tsconfig.json file.
- HTML and Pug
<template>
- JavaScript and TypeScript
<script>
and<script setup>
(the latter is still experimental) - CSS, SCSS and SASS
<style>
- Path aliases from tsconfig.json, e.g.
import "@/Component.vue"
resolves toimport "../../Component.vue
- Emit HTML file and inject output CSS and JS files