-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Suggestions for NativeScript Vue 3 Docs #1080
Comments
@neneodonkor I like this, many of these points are part of NativeScript and not NativeScrip-Vue, because of this, I think it is important that anyone who goes into the documentation understands that the majority of the documentation that you should look in should be in N and only specific aspects of vue will be in the NS-vue documentation, this is because ns-vue is coupled on top of N, it is a Vue renderer that renders the N elements behind. This is why I believe that the documentation of ns-vue should be concise and only explain the parts that are really useful. Maybe we could have a page that encompasses the points of N and that makes a redirect to the documentation of N, but I repeat, I think it is best for the developer to understand that everything related to native, views, errors and so on are part of N and not NS-Vue, although I think a page like this would be useful for many. |
@vallemar I agree with you. Perhaps, some of the suggestions could be applied to the main documentation. But then again it could also be a place on what can be done with Vue. |
Due to the fact that there is little to no information available for new users to know how to use NativeScript with Vue 3, I suggest the following should be included in the docs:
Environmental setup and installation. I personally had to start from the NativeScript official docs before finishing with the instructions on the NativeScript-Vue Github page.
A list of gotchas. Any slight differences between how Vue is used on the web vs how it is used in NativeScript, or even compared to older versions of NativeScript Vue.
Code snippets or examples for workflows that our common in all apps. This could range from simple to advanced levels. Code examples could be on how to render lists, basic animations, and how to share data from one screen to another.
How and when to use native code or platform specific code.
I know the team is hard-pressed for time, but short tutorials can also help especially for those of us who are visual learners. Perhaps, a TODO app can be developed. You could have two versions: A simple, basic TODO with local storage. And an advanced version that should include connecting to a backend like Supabase, authentication, micro-animations, and handling of images.
Various ways of styling your app.
Performance tips.
How to deploy your app to Expo or Ionic's Appflow, or whatever option is out there.
How to use Open Native.
How to upgrade to a new version of NativeScript Vue.
How to manage or read errors. Also, common mistakes to avoid.
How to enable fast refresh.
How to manage network activity. Creating an offline-first app.
App security. How to secure your APIs or store sensitive information.
Finally, can we have JS examples for those of us who are not good with TS. 🫣
The text was updated successfully, but these errors were encountered: