Giter Site home page Giter Site logo

vue.hx's Introduction

Vue.hx

Vue + Haxe a match made in heaven!

Haxe externs for Vue.JS 2.0. intended to mirror the API located at Vue.js API

Installation

C:\> haxelib install vue

Haxelib local use

Use this repo locally

haxelib dev vue path/to/folder/src

or use git directly

haxelib git vue https://github.com/kidveno/Vue.hx.git

don't forget to add it to your build file

-lib vue

Features

  • Externs for the core Vue 2.0 API contained in the Vue class
  • Typedefs for VueConfig , VueComponentOptions, VueOptions, and RenderFunction
  • An optional Component class (VueComponent) which, when extended, allows the use of an @template metatag to add code for templates right in your haxe class.
    @template("<p>My Template</p>") //The component class will use the first @template for the template
    class MyComponent extends vue.VueComponent{
        public function new()
        {
            super('my-component', {})
        }
    }

Other that that its haxe/vue business as usual

Examples

Check out the example folder for more tips and tricks.

vue.hx's People

Contributors

matthijskamstra avatar partygodtroy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue.hx's Issues

haxelib update

not sure if this something connected to vue.hx

but when I update vue via haxelib I get this:

Update vue to 0.2.0 [y/n/a] ? y
Downloading vue-0,2,0.zip...
Download complete : 243 bytes in 0s (2.4KB/s)
Error: Http Error #403

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.