1. @vant/compiler
compile vue single file component to js file.
@vant/compiler
Package: @vant/compiler
Created by: chenjiahan
Last modified: Wed, 02 Nov 2022 09:37:58 GMT
Version: 1.0.0
License: ISC
Downloads: 8
Repository: https://github.com/chenjiahan/vue-sfc-compiler

Install

npm install @vant/compiler
yarn add @vant/compiler

vue-sfc-compiler

Vue single file component compiler.

Options

Option Default Description
template { preserveWhitespace: false } Vue template compiler options
babel {} babel options

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code