api.addAssets

package.js api.addAssets(filenames, architecture) Specify asset files for your package. They can be accessed via the Assets API from the server, or at the URL /packages/username_package-name/file-name from the client, depending on the architecture passed. Arguments filenames String or Array of Strings Paths to the asset files. architecture String or Array of Strings Specify where this asset should be available (e.g., 'server', 'client', 'web.browser', 'web.cordova'). You can speci

meteor help

meteor help Get help on meteor command line usage. Running meteor help by itself will list the common meteor commands. Running meteor help command will print detailed help about the command.

api.imply

package.js api.imply(packageNames, [architecture]) Give users of this package access to another package (by passing in the string packagename) or a collection of packages (by passing in an array of strings [packagename1, packagename2] Arguments packageNames String or Array of Strings Name of a package, or array of package names, with an optional @version component for each. architecture String or Array of Strings If you only use the package on the server (or the client), you can p

reactiveVar.get

Client reactiveVar.get() Source Returns the current value of the ReactiveVar, establishing a reactive dependency.

Spacebars

Spacebars Spacebars is the language used to write Meteor templates. It is inspired by Handlebars. It shares some of the spirit and syntax of Handlebars, but has been tailored to produce reactive Meteor templates when compiled. For more information about Spacebars, see the Spacebars README.

React

After reading this guide, you’ll know: What React is, and why you would consider using it with Meteor. How to install React in your Meteor application, and how to use it correctly. How to integrate React with Meteor’s realtime data layer. How to route in a React/Meteor application. Introduction React is a JavaScript library for building reactive user interfaces developed and distributed by the Facebook team. React is one of the three rendering libraries supported by Meteor; it is an alterativ

dependency.changed

Client dependency.changed() Source Invalidate all dependent computations immediately and remove them as dependents.

App.icons

App.icons(icons) Set the icons for your mobile app. Arguments icons Object An Object where the keys are different devices and screen sizes, and values are image paths relative to the project root directory. Valid key values: iphone_2x (120x120) iphone_3x (180x180) ipad (76x76) ipad_2x (152x152) ipad_pro (167x167) ios_settings (29x29) ios_settings_2x (58x58) ios_settings_3x (87x87) ios_spotlight (40x40) ios_spotlight_2x (80x80) android_mdpi (48x48) android_hdpi (72x72) androi

AccountsServer#validateNewUser

Server accountsServer.validateNewUser(func) Source Set restrictions on new user creation. Arguments func Function Called whenever a new user is created. Takes the new user object, and returns true to allow the creation or false to abort.

Meteor.isServer

Anywhere Meteor.isServer import { Meteor } from 'meteor/meteor' Source Boolean variable. True if running in server environment.