All Projects → PartyGodTroy → Vue.hx

PartyGodTroy / Vue.hx

Licence: other
VueJs externs for Haxe

Programming Languages

haxe
709 projects
CSS
56736 projects
HTML
75241 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].