I got stylus working nicely but there is a sneaky problem with PostCSS. Since I don't know if it's a PostCSS issue or their implementation on weex loader, I'm posting here first.
ERROR in ./node_modules/weex-vue-loader/lib/style-loader.js!./node_modules/stylus-loader?{"sourceMap":false}!./node_modules/weex-vue-loader/lib/style-rewriter.js?id=data-v-4db570ca!./node_modules/weex-vue-loader/lib/selector.js?type=styles&index=0!./src/debug.vue
Module build failed: CssSyntaxError: /Users/dseeker/weex-vue-spa/src/debug.vue:34:2: Unknown word
at Input.error (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/input.js:119:22)
at Parser.unknownWord (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/parser.js:506:26)
at Parser.other (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/parser.js:171:18)
at Parser.parse (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/parser.js:84:26)
at parse (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/parse.js:24:16)
at new LazyResult (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/lazy-result.js:70:24)
at Processor.process (/Users/dseeker/weex-vue-spa/node_modules/postcss/lib/processor.js:117:12)
at Object.module.exports (/Users/dseeker/weex-vue-spa/node_modules/weex-vue-loader/lib/style-rewriter.js:96:6)
@ ./src/debug.vue 5:20-264
@ ./.temp/entry.js
I got stylus working nicely but there is a sneaky problem with PostCSS. Since I don't know if it's a PostCSS issue or their implementation on weex loader, I'm posting here first.
Here's what I'm trying to achieve: http://stylus-lang.com/docs/interpolation.html Interpolation between parenthesis work. example:"
outputs: .web(.baz) { opacity: 1; }
but removing the parenthesis, to concatenate strings, like in the manual example, raises the PostCSS error
outputs: