Vue template validator

utlity for validating vue templates at compile time

Version: 1.1.5 Updated: 02/29/2016

By: vuejs License: MIT

Downloads Last 30 Days: 18.2k

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)
})

Contributors



yyx990803
commits

Dependencies


DevDependencies


Categories: Vue js
Tags: vue