-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Is "ns preview" supported in {N} nx library? #74
Comments
Hi @juantot9 Yes there is. We don't include one by default but you can add this to your
Also if you just generated your workspace, you'll notice it used newly released Nx 18. We'll release a @nativescript/nx sometime this month to match 18 major but just note that Nx 18 will init a workspace with typescript ~5.3.0 and when you generate a Angular based NativeScript app you would get Angular 16 dependencies added which require typescript ~5.2.0. You can change typescript or what I would recommend is just using latest Angular 17 and sticking with typescript ~5.3.0 (which Nx 18 sets up). So your dependencies would look like this:
Hope that helps. |
Oh also keep in mind current 'NativeScript Preview' app on appstore and google play needs @nativescript/core "~8.5.0". Some updates will be posted this month which will work with ~8.6.0 and higher. |
Hello @NathanWalker ! Thank you so much for all this information, I will try to do it in a few hours and see what happens! Seems pretty easy to do! Also, I updated the libraries, that were by defect in v16. I will let you know if it works! I had some problems figuring out that the problem with making the preview work was the version, a good folk helped me on the discord channel hehe. Again, thank you so much! |
Hello!
I am new using {N} and I wanted to start a project using nx for an angular crossplatform app. After starting the project with nx and working correctly following the documentation, I was wondering if there is any way to use the preview feature with nx commands.
I tried to search within the docs and code but couldn't find any way to do it. It would be awesome if this exists with a command like
nx run <project-name>:preview
or something similar. Thank you in advance!The text was updated successfully, but these errors were encountered: