November 2017
Beginner to intermediate
398 pages
8h 42m
English
Without further delay, let's build the simple component that will call this measure.add Meteor method:
<template> <div class="production-generator"> <h1>Measure production</h1> <section class="actions"> <button @click="generateMeasure(false)">Generate Measure</button> <button @click="generateMeasure(true)">Generate Error</button> </section> </div> </template>
<script> import { Meteor } from 'meteor/meteor' export default { methods: { generateMeasure (error) { const value = Math.round(Math.random() * 100) const measure ...Read now
Unlock full access