vue-template-validator

utlity for validating vue templates at compile time

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-template-validator
2711.1.58 years ago8 years agoMinified + gzip package size for vue-template-validator in KB

Readme

vue-template-validator
Catch common syntax errors in Vue.js templates at compile time.

var validate = require('vue-template-validator')

var warnings = validate(str)

warnings.forEach(function (msg) {
  console.log(msg)
})