fish-ui icon indicating copy to clipboard operation
fish-ui copied to clipboard

serve failed with parceljs

Open Ray-Eldath opened this issue 4 years ago • 0 comments

run parcel serve index.html with instruction described in documentation applied, will produce:

$ parcel serve index.html
Server running at http://localhost:1234 
× ...\node_modules\fish-ui\src\components\Calendar.vue: invalid expression: Invalid left-hand side in assignment in

    "\n      "+_s(index < modeIndex ? (index <= 1="" 2="" ?="" '-'="" :="" index="==" '="" <="4" ':'="" '')="" '')+"=\"\" template=\"\">\n    "

  Raw expression: {{index < modeIndex ? (index <= 1="" 2="" ?="" '-'="" :="" index="==" '="" <="4" ':'="" '')="" ''}}="" template="">

i'll suppose it's closely linked with ParcelJS... it's a lightweight and zero-configuration required packaging tool, very suitable for small project. I do hope there's some workaround here...

BTW parcel will install less and loaded it automatically, so install less and less-loader it's not needed in parcel case. but obviously the error is unrelated with these stuff, IMHO.

Ray-Eldath avatar Feb 05 '20 11:02 Ray-Eldath