-
-
Notifications
You must be signed in to change notification settings - Fork 40
--bundle ruins css #378
Comments
This is probably because |
@berchik do you found solution how to solve this? |
One way would of course be to copy manually the android/ios css files from |
Have same problem as mentioned by @berchik , after upgrading and following upgrade document changed @import 'nativescript-theme-core/css/core.light.css' to @import '~nativescript-theme-core/css/core.light.css' in app.css. after bundling app all styles defined in theme core does not apply so it appears that theme core is not copied as it use to be |
@berchik @laimonas @milansar confirming this as a bug reproducible only when bundling on Windows. Steps to reproduce:
Reproducible only on Windows - everything works as expected on Mac (@berchik @laimonas @milansar can you confirm that you are building in Windows environment) |
@NickIliev yes i'm using windows 10. |
@NickIliev yes the issue is on win10. |
@NickIliev yes i'm using windows 10 |
i'm using windows 10 and not set app.css :"@import '~nativescript-theme-core/css/core.light.css';" after use "tns run android --bundle" but use "tns run android" that is ok! |
I am facing the same issue on Mac os X as well. The theme core styles are not being applied with 'tns run android --bundle'. Not tried ios build with webpack yet. But 'tns run android' works fine. Update: I guess entire app.css isn't applied with --bundle |
Thanks Stanimira, For win10 I can confirm --env.uglify is working too |
Referring #386 for --env.aot issue. It works. |
Created new project --ng with angular 5.
Added npm install --save-dev nativescript-dev-webpack
running tns run android everything is ok
running tns run android --bundle listview has no styles.
The text was updated successfully, but these errors were encountered: