RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Importing in app modules
Node modules import url from 'url'; import moment from 'moment'; Meteor packages import { Meteor } from 'meteor/meteor'; import { SimpleSchema } from 'meteor/aldeed:simple-schema';
Importing in Meteor packages
In package.js: Npm.depends({ moment: "2.8.3" }); In a package file: import moment from 'moment';
Exporting variables from app modules
// Default export export default {}; // Named export export const SomeVariable = {};
Exporting symbols from Meteor packages
In your mainModule file: export const SomeVar = {};
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website