Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Meteor Component Example

Notice

🆕 This example has been made obsolete by the new numtel:lazy-bundles package.

This example recreates the default Meteor "Hello" counter except with the templates loaded on-demand using miro:preloader and numtel:publicsources.

Explanation

Meteor provides a great system for building templates with Blaze and Spacebars but large applications suffer because every template is loaded with the initial page load.

Instead of loading all templates on initial page load, it is possible to load templates as-needed using iron:router with a few supporting packages.

With numtel:publicsources, source files inside the public directory can be processed using the same packages that process all other source files.

See site.publicsources.json for the configuration of the lazy-loaded bundle.

Installation

# Install Meteor
$ curl https://install.meteor.com/ | sh
# Clone Repo
$ git clone https://github.com/numtel/meteor-component-example.git
$ cd meteor-component-example
# Start Meteor
$ meteor

Resources

License

Unlicense

About

Load templates on-demand using miro:preloader and numtel:publicsources

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.