Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
.versions
README.md
package.js
vue-coffee.js

README.md

Integrate CoffeeScript with vue single-file components for Meteor

Compatibility: Vue 1.x, Vue 2.x

This meteor package adds CoffeeScript support in your single-file .vue components.

Installation

meteor add akryum:vue-coffee

Usage

<script lang="coffee">
import { Meteor } from 'meteor/meteor'

export default
  props: [ 'data' ]
  methods:
    removePost: ->
      Meteor.call 'posts.remove', @data._id
</script>

LICENCE ISC - Created by Guillaume CHAU (@Akryum)