Meteor 1.2 release will lack ES6 modules support, but if you want you can use them even today!
universe:modules to your project.
This package will add new file extensions:
These files will be bundled with your Meteor app, but won’t get executed until you request them.
This is somewhat similar to
*.import.less files, that you can include inside normal
It uses Babel and SystemJS under the hood.
- Atmosphere: https://atmospherejs.com/universe/modules
- GitHub: https://github.com/vazco/universe-modules/
You can also check out example app at https://github.com/vazco/demo_modules
This demo also uses
kadira:react-layout so it could also be an example on working with React in general.
What do you think about this? I would greatly appreciate your feedback!