You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've setup an nativescript app in an Nx project.
I then created a library with a game I've developed with NativeScript. The game has assets (images, JSON and audio).
When I'm trying to run the game in the app, it doesn't take the a assets from the library even though I've added it to the workspace.json.
Here's the repo: https://github.com/YonatanKra/nx-conf-demo/tree/native-script
The app is nativescript-dragons-and-coin.
The lib has the same name without nativescript.
Notice the addition of the assets to the build options: https://github.com/YonatanKra/nx-conf-demo/blob/native-script/workspace.json#L43
The text was updated successfully, but these errors were encountered:
I have the same issues, assets get completely ignored. They do work in the web version with angular, but for the nativescript build we have to copy over the assets into the app. How can we tell the app to use the assets from a shared lib? There's no documentation whatsoever...
Hi,
I've setup an nativescript app in an Nx project.
I then created a library with a game I've developed with NativeScript. The game has assets (images, JSON and audio).
When I'm trying to run the game in the app, it doesn't take the a assets from the library even though I've added it to the workspace.json.
Here's the repo: https://github.com/YonatanKra/nx-conf-demo/tree/native-script
The app is
nativescript-dragons-and-coin
.The lib has the same name without
nativescript
.Notice the addition of the assets to the build options: https://github.com/YonatanKra/nx-conf-demo/blob/native-script/workspace.json#L43
The text was updated successfully, but these errors were encountered: