Answer the question
In order to leave comments, you need to log in
How to fix Syntax Error: Unexpected toke in pug mixin?
mixin input-rad-check(class, types, id, name, value)
+e.wrap-item
+e.INPUT.input(type=type id=id name=name value=value)
+e.LABEL.label( class=class for=id)= value
+input-rad-check('type-checkbox', 'checkbox', 'check-6', 'check-6', 'Sale pallet')
Syntax Error: Unexpected token
[16 :14:30] Finished 'pug' after 65 ms
[16:14:30] gulp-notify: [Pug] C:\Users\Nikolay\Desktop\Fasovk\dev\pug\mixins\input-radio.pug:4 :32
2| +e.wrap-item
3| +e.INPUT.input(type=type id=id name=name value=value)
> 4| +e.LABEL.label(class=class for=id)= value
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question