This is a sample blog app written in Mantra covering core features of it.
- Clone this repo
meteor npm i
记得使用 meteor 的npm,不然很有可能和你本地的 npm 版本不同,导致安装的包不能用- Make sure you've installed Meteor locally
Simply start your app with meteor -p 5005
.
Then you can access the app on http://localhost:5005
In this app, every part of the client side is fully tested using the familiar tools like Mocha, Chai and Sinon.
Run tests with:
npm test
See package.json for more information about testing setup.
This app is setup for React Storybook. Run following command to start the React Storybook:
npm run storybook
NOTE: If this gives you missing module errors, React Storybook requires npm v3. Here's how to install npm3 and get it setup.
npm install -g npm@3.8.5 rm -rf node_modules npm install npm run storybook