react-blogger v0.1.3
React Blogger
React Component that renders a blog based upon json input complete with pages, content and routing.
// React
import React from 'react';
import ReactDom from 'react-dom';
// Blogger
import Blogger from 'react-blogger';
import blog from '../../data/blog.json';
// Render
ReactDom.render(
<Blogger config={config} blog={blog} />,
document.getElementById('app'),
);
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
Installation
$ npm i react-blogger --save-dev
Example
See example in /example to see it in action
$ cd example
$ npm i
$ npm start
- An example github project that uses react blogger - https://github.com/robonaut/www.robonaut.be
- This project is continously deployed to s3 - http://www.robonaut.be
Running the tests
$ npm t
Deployment
See example Makefile on how to build this and deploy it on S3 (using aws-cli)
$ cd example
$ make build
$ make deploy
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Ilja Strobbe - Initial work - Robonaut
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago