Whats are the startup modules which will run immediately, Meteor-reactjs project?


In the main.js we should import some startup modules which will run immediately?

Can you give me others examples of modules except config module ( server side, client side),


Take a look at the React branch of the todos app for an example of calling client/server startup files, following Meteor 1.3+'s /import directory approach. Startup files are located in either /imports/startup/client or /imports/startup/server, and are referenced by the applications /client/main.js and /server/main.js files. When the application starts, the associated startup files are loaded/called on both the client and server.

1 Like