1234567891011121314 |
- // Define a collection to hold our tasks.
- Tasks = new Mongo.Collection('tasks');
- if (Meteor.isClient) {
- // This code is executed on the client only.
- Accounts.ui.config({
- passwordSignupFields: "USERNAME_ONLY"
- });
- Meteor.startup(function () {
- // Use this branch to render the component after the page is ready.
- ReactDOM.render(<App />, document.getElementById('render-target'));
- });
- }
|