NativeScript/ns-vue-vite-demo

Nuxt implementation

Opened this issue · 3 comments

Aft1n commented

Hey, thanks for implementing Vite with NS.

My question is will it be possible now that vite takes care of vue code and NS, to implement Nuxt with ssr: false and generated html files working as well with NS for better DX? thanks

Thanks for the mention, this sounds possible. We can explore more with Nuxt after v9 NativeScript is released which hopefully will be within weeks.

Aft1n commented

Hey, thats awesome, eventually if nativescript-web will work as expected and nuxt added, this will be the ultimate stack to develop multi-platform apps.. Thanks, looking forward to v9

ponzS commented

Hey, thats awesome, eventually if nativescript-web will work as expected and nuxt added, this will be the ultimate stack to develop multi-platform apps.. Thanks, looking forward to v9

In my recent test, Nuxt can be used directly through the nativescript for web plug-in method, and you only need to adjust the configuration in Vite. At present, the main work is on the simpler cross-platform encapsulation of vue-router and nuxtlink, which also includes some minor problems with css style consistency. In the end, we need to enter the web adaptation of cross-platform plug-ins, such as the web platform version of sqlite and some native plug-ins. The goal is to simplify the writing of components as much as possible. Maybe in the end, you can write a platform-wide native application like writing a simple vue web page. Thank you for the trust of the NS team.