I have installed grunt html validation plugin Link
Registered task.
But have error when i call this task from command link
error like this
Network error re-validating.. 1
My register task look likes:
validation: {
files: {
src: ['dist/index.html']
}
}
grunt.loadNpmTasks('grunt-html-validation');
grunt.registerTask('default', ['validation']);
Refer to this issue . In short: the plugin is unusable now.
You can use grunt-w3c-html-validation plugin instead of it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.