Git Product home page Git Product logo

ns-vue-loader's People

Stargazers

Brian Lee avatar Mikhail Sidorov avatar EvanJin avatar Thorsten Lünborg avatar Brian Jesse avatar YCM Jason avatar  avatar

Watchers

James Cloos avatar Tiago Alves avatar

Forkers

championswimmer

ns-vue-loader's Issues

Ns-vue-loader is not a valid NativeScript plugin

Hello, i tried your plugin but after i run **'tns plugin add ns-vue-loader'** i get an error:
ns-vue-loader is not a valid NativeScript plugin. Verify that the plugin package.json file contains a nativescript key and try again.

Let's fork the template loader in preparation of code sharing support

Since we decided that we will support code sharing by using <template native> and <template web> syntax in our SFC, I need to be able to tell the vue loader to only use templates for NativeScript. I think we ought to modify the loader.js file to check not just fortemplate, but template native. This would be the first step towards a split of code; otherwise, when I use a <div> in a ` template, tns gets mad.

Is this file the right one to edit? Thanks!

Unexpected token error with single quote

Hi,

Don't know if it's related to the loader but I get this error when I put single quote in the declaration of an event like @tap:

ERROR in ...
Module parse failed: ...
 Unexpected token (1:838)
You may need an appropriate loader to handle this file type.

This fail:

<Label text="baz" @tap="foo('bar')"></Label>

But this work:

<Label text="baz" @tap="foo()"></Label>

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.