Catch common syntax errors in Vue.js templates at compile time.
by vuejsJavaScript
Last 12 weeks · 0 commits
2 of 6 standards met
Repository: vuejs/vue-template-validator. Description: Catch common syntax errors in Vue.js templates at compile time. Stars: 27, Forks: 11. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 0, open issues: 1. Last activity: 9y ago. Community health: 37%. Top contributors: yyx990803, taylorzane, kazupon.
hi, I am using Laravel, gulp, browserify and vueify . When I try to combine everything (gulp gulp watch) I get an error. I noticed that I only get an error when there is an anchor inside of another anchor. The error says: Actual code that produced a bug: The code crashes both gulp and gulp watch . I am not sure if this is a bug or a feature, since it seems browsers do not allow it anyway - http://stackoverflow.com/a/13054959/2674529 . If nothing else there could be a description of the problem, not just self-closing-tag.js ...
Added test cases to go along with this feature. All tests pass. There is also a test case that tests an (obviously) invalid tag inside of an SVG element. I tested this against a template with complex SVGs and no warnings were raised. This will presumably also support any standard HTML tags that are supposed to be camelCase. Although I am unaware of any at the moment.