@purevue/compiler-sfc
v0.0.9
Published
## ๐ Introduction
Maintainers
Readme
@purevue/compiler-sfc
๐ Introduction
This package is the Single-File Component (SFC) compiler of PureVue.
It parses .vue files and compiles them into JavaScript modules that can be processed by bundlers like Vite.
Key features:
- Parses
<template>and<script>blocks from.vuefiles - Compiles templates into render functions
- Designed to work together with @purevue/vite-plugin
โ ๏ธ Note: This project is for learning purposes only.
It is not intended for production use.
๐ Usage
You usually wonโt install this package directly.
Instead, use it via the Vite plugin:
๐ @purevue/vite-plugin
Or simply use the aggregate entry package:
๐ @purevue/vue
For examples, check the demo project:
๐ purevue-demo
๐ฆ Related Packages
- @purevue/compiler-core โ Template compiler core
- @purevue/compiler-dom โ DOM template compiler
- @purevue/vite-plugin โ Vite plugin for
.vuefiles - @purevue/vue โ Aggregate entry (recommended)
