vue-parser icon indicating copy to clipboard operation
vue-parser copied to clipboard

A simple way to get contents from the different tags in a .vue file.

Results 4 vue-parser issues
Sort by recently updated
recently updated
newest added

`let content = vueParser.parse(fileContent, 'template');` the content has many slash, like this: ////////// How to remove slash?

This PR is to support [Src Imports](https://vue-loader.vuejs.org/spec.html#src-imports) in .vue ## example code ```ts const parser = require('vue-parser') const content = ` `; console.log(parser.parse(content, 'script', {lang: ['ts']}, {emptyExport: true})) ``` ##...

While it is true that a self-closing `` tag is not valid HTML, it would be nice if there could be a more descriptive error when one is encountered. Currently,...

`@types/node` is interfering with our types because `fork-ts-checker` uses this package, and you depend on `parse5`, so `@types/node` gets installed in our node_modules where it interferes with our other typings...