Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 747 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 747 Bytes

NativeScript Vue with Vite Demo

Play around with NativeScript Vue and Vite.

ns-vue-vite.mp4

Install latest cli (v9+): npm install -g nativescript@latest

Then setup the repo:

npm install

Develop with HMR

This will start Vite dev server and open a socket to the NativeScript app to develop with HMR for quick edits.

npm run dev:ios

// Or...

npm run dev:android

Develop with Live Reload

ns debug ios --no-hmr

// Or...

ns debug android --no-hmr

Notes

This project is configured via nativescript.config.ts to use Vite.

Explore the vite.config.ts where you can customize per your own needs.