by tralves | v0.1.2
Vue single-file component loader for nativescript-vue and Webpack
npm i --save ns-vue-loader


Vue.js component loader for Webpack customized for nativescript-vue.

It allows you to write your components in this format:


The best way to get started is with the tns cli and the nativescript-cue-webpack-template:

tns create hello-ns-vue --template https://github.com/tralves/nativescript-vue-webpack-template

This will setup a basic Webpack + nativescript-vue project for you, with *.vue files working out of the box!

This is a customization of vue-loader. For advanced vue-loader configuration, checkout the documentation.