Contributing
Thank you for your interest in contributing to NativeScript-Vue!
Development
The runtime, the project templates and this website all live in the nativescript-vue repository.
Setup
Clone the repository and install its dependencies:
git clone https://github.com/nativescript-vue/nativescript-vue.git
cd nativescript-vue
npm installRun the checks:
npm test # vitest, runs the renderer against a stubbed @nativescript/core
npm run typecheck
npm run buildTrying changes in an app
The demo/ app resolves nativescript-vue straight from src/, so it picks up uncommitted changes:
cd demo
npm install
ns run ios|androidDocumentation
The website is in the docs/ folder of the same repository and is built with VitePress. All content is under docs/content/, and every page has an "Edit this page" link that opens the file on GitHub.
Running the documentation locally
cd docs
npm install
npm run devOpen the URL printed in your terminal to preview your changes live.
Building the documentation
npm run build
npm run previewChecking for broken links
After changing links or a large portion of a page, verify that all documentation links still resolve:
npm run build
npm run check-linksPull requests that touch docs/ get a preview URL from the Docs workflow, and the site deploys automatically when they are merged.