Use Stylus for NativeScript Vue?

124 Views Asked by At

I've set up a sample NativeScript Vue project as per the quick start guide.

Additionally, I installed the Stylus plugin with tns install stylus.

However, it doesn't seem to recognise the Stylus code in the Vue single-file component:

file:///app/bundle.js:49:209: JS ERROR Error: Module parse failed: Unexpected character '#' (40:21)
You may need an appropriate loader to handle this file type.
| 
| ActionBar
>     background-color #53ba82
|     color #ffffff

How can I make both Vue and Stylus play nice with NativeScript?

0

There are 0 best solutions below