-
Book Overview & Buying
-
Table Of Contents
Mastering MeteorJS Application Development
By :
Have you ever wondered how MeteorJS builds and runs the application while developing applications locally? MeteorJS bundles the JavaScript code, packages, and templates every time we run the application. The .meteor/local/build directory is the place where all the bundled files are located. You will find a copy of your code inside the .meteor/local/build directory. When we debug our application using node-inspector via meteor debug, we always see that the execution stops at .meteor/local/build/main.js. This is the entry point for the application.
MeteorJS compiles the templates to JavaScript functions and splits the code based on target environment(the server or the client) before serving them. If you have used any compile to JavaScript language such as coffee, or CSS preprocessors such as SASS, all the appropriate files are converted to JavaScript and CSS files during the initial stage of the build process.
The important block of the application...
Change the font size
Change margin width
Change background colour