yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 935 forks source link

Unexpected token #492

Closed mavsan closed 7 years ago

mavsan commented 7 years ago

Vue2, Webpack2 error: Unexpected token: operator (>) [./~/vue-strap/src/utils/utils.js:4,0]

vesper8 commented 6 years ago

how did you solve this?

mavsan commented 6 years ago

var alert = require('vue-strap').alert;

but it will increase the code 200 kb, so i wrote own component 4 this