Command used to create project
tns create my-app-name --template tns-template-tab-navigation-ng
Followed the instruction and installed web pack
npm install --save-dev nativescript-dev-webpack
Then build the project without change anything
tns build android --bundle
Module not found: Error: Can’t resolve ‘./tabs.component.css’ in ‘D:\Dev\Workspace\Local\NativeScript\my-app\app\tabs’
I checked the generated project, there is no tabs.component.css but the css file is referenced in the tabs.component.ts.
- Do I have to add the tabs.component.css and manually import the platform specific css/scss file by myself? If so how I can import the platform specific files?
- Or I have to change the webpack.config.js file to use the platform specific css/scss file directly? This is what I did with version 0.8.0 and it worked great.
Any help would be appreciated.