NS-Vue Platform specific CSS


Hi, I have trouble applying the platform specific css in projects using .vue template files.

In the NativeScript Playground, creating files called styles.android.css and styles.ios.css works fine because you don’t have to import the files in the app.js it load them automatically.

But in the projects using .vue files the main.js does require importing the stylesheets explicitly and don’t work as expected.

Any ideas?

P.S: The playground is an excellent tool to quick prototype an idea but no so much to test some code that should execute before the app load, because its initialization routines are very different than the Vue CLI template code.


Bump? Does anybody have implemented platform specific styles to their projects? How do you initialize in the main.js ???