template.view

Client template.view Source The View object for this invocation of the template.

Build system

The Meteor build system is the actual command line tool that you get when you install Meteor. You run it by typing the meteor command in your terminal, possibly followed by a set of arguments. Read the docs about the command line tool or type meteor help in your terminal to learn about all of the commands. What does it do? The Meteor build tool is what compiles, runs, deploys, and publishes all of your Meteor apps and packages. It’s Meteor’s built-in solution to the problems also solved by tool

URLs and Routing

After reading this guide, you’ll know: The role URLs play in a client-rendered app, and how it’s different from a traditional server-rendered app. How to define client and server routes for your app using Flow Router. How to have your app display different content depending on the URL. How to construct links to routes and go to routes programmatically. Client-side Routing In a web application, routing is the process of using URLs to drive the user interface (UI). URLs are a prominent feature

Meteor.setTimeout

Anywhere Meteor.setTimeout(func, delay) import { Meteor } from 'meteor/meteor' Source Call a function in the future after waiting for a specified delay. Arguments func Function The function to run delay Number Number of milliseconds to wait before calling function

Template.body

Client Template.body import { Template } from 'meteor/templating' Source The template object representing your <body> tag.

{{currentUser}}

{{ currentUser }} Source Calls Meteor.user(). Use {{#if currentUser}} to check whether the user is logged in.

webapp

webapp The webapp package is what lets your Meteor app serve content to a web browser. It is included in the meteor-base set of packages that is automatically added when you run meteor create. You can easily build a Meteor app without it - for example if you wanted to make a command-line tool that still used the Meteor package system and DDP. This package also allows you to add handlers for HTTP requests. This lets other services access your app's data through an HTTP API, allowing it to easil

Introduction

What is Meteor? Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Node.js and general JavaScript community. Meteor allows you to develop in one language, JavaScript, in all environments: application server, web browser, and mobile device. Meteor uses data on the wire, meaning the server sends data, not

Blaze

After reading this guide, you’ll know: How to use the Spacebars language to define templates rendered by the Blaze engine. Best practices for writing reusable components in Blaze. How the Blaze rendering engine works under the hood and some advanced techniques for using it. How to test Blaze templates. Blaze is Meteor’s built-in reactive rendering library. Usually, templates are written in Spacebars, a variant of Handlebars designed to take advantage of Tracker, Meteor’s reactivity system. Th

customType.clone

Anywhere customType.clone() Source Return a value r such that this.equals(r) is true, and modifications to r do not affect this and vice versa.