/meteor-client-bundle-example

Example of how to use meteor-client bundle to separate a Meteor app into front and back end components.

Primary LanguageJavaScript

meteor-client-bundle-example

Simplest possible example that uses the meteor-client bundle and webpack together to separate the front and back end of a Meteor application. Unlike the original "simple example" linked off of the (very helpful) blog post, you don't need a Ph.D. in Webpack to understand this one.

$ npm i
$ npm run bundle # bundle the Meteor dependencies into client/meteor-client.js
$ npm run webpack # pack everything into dist/items.js
$ npm run meteor # run Meteor in one window
$ npm run static # run static server in a second window