Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.11 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.11 KB

NativeScript-Vue website Netlify Status

This is the source for the nativescript-vue.org website.

Contributions are welcome, all the content is placed in the content directory.

How to build the documentation

After cloning the repository, do the following steps

cd nativescript-vue.org/
npm install
npm run build:js
npm run build:css
npm run build

This sequence is only needed the first time. After that, the only command needed is:

npm run build

Serve the documentation

Install the serve npm package globaly:

npm install -g serve

Run the HTTP server using the already generated dist/ directory:

serve dist/

Now, you can open the http://localhost:5000 URL in your browser to see the generated docs.

How to build in watch mode

In order to detect changes in the content directory and rebuild automatically the docs, run the following sentence:

npm run dev