Agontuk / vue-cropperjs

A Vue wrapper component for cropperjs https://github.com/fengyuanchen/cropperjs
MIT License
930 stars 226 forks source link

Laravel Elixir CSS Loader #14

Closed jiriko closed 7 years ago

jiriko commented 7 years ago

Hi,

I'm getting this error when I try to build my vue files.

{ [Error: ./~/vue-cropperjs/~/cropperjs/dist/cropper.css
Module parse failed: \node_modules\vue-cropperjs\node_modules\cropperjs\dist\cropper.css Unexpected token (11:0)
You may need an appropriate loader to handle this file type.
|  */
|
| .cropper-container {
|   font-size: 0;
|   line-height: 0;
 @ ./~/vue-cropperjs/dist/VueCropper.js 19:0-37
Agontuk commented 7 years ago

you need css-loader & style-loader to parse css files. I mentioned it in the readme file.