myliang / fish-ui

A Vue.js 2.0 UI Toolkit for Web

Home Page:https://myliang.github.io/fish-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

serve failed with parceljs

Ray-Eldath opened this issue · 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.