fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

compile scss file for the vueify(browserify) #37

Closed Alideniz closed 6 years ago

AbdullahG commented 6 years ago

@fritx I am waiting the pr

fritx commented 6 years ago

@Alideniz hold on, just found your branch has problem rendering in my Chrome.

fritx commented 6 years ago

@AbdullahG seems we should pack the library using rollup instead of webpack?

fritx commented 6 years ago

I've found that UglifyJS is needed to use it in vueify (browserify). (Tested under https://github.com/vuejs-templates/browserify.)

The error below while dev was due to a webpack script not being removed while it is in a if (false) {}.

Error: Cannot find module '!!../node_modules/css-loader/index.js!../node_modules/
vue-loader/lib/style-rewriter.js?id=data-v-05ccc8af!../node_modules/sass-loader/
index.js!./At.scss' from '/xxx/node_modules/vue-at/dist'
fritx commented 6 years ago

@Alideniz @AbdullahG try 2.3.2 with vueify, thanks!