#vue #sfc

vue-sfc

A parser for Vue SFC

4 releases

0.3.2 Feb 14, 2022
0.3.1 Feb 13, 2022
0.3.0 Feb 6, 2022
0.2.0 Feb 3, 2022
0.1.0 Feb 2, 2022

#8 in #sfc


Used in dprint-vue-plugin

MIT license

38KB
907 lines

vue-sfc

vue-sfc provides a parser and data structures needed to represent a Vue SFC.

Parsing

See parse.

Printing

Block, [Raw] and Section implement std::fmt::Display.


🦀 vue-sfc   badge-docs-rs badge-crates-io

Parse and interact with Vue SFC.

Check the documentation for usage examples.

Dependencies

~1MB
~18K SLoC