index.js 482 B

123456789101112131415161718192021222324252627
  1. /**
  2. * React Static Boilerplate
  3. * https://github.com/koistya/react-static-boilerplate
  4. *
  5. * Copyright © 2015-2016 Konstantin Tarkus (@koistya)
  6. *
  7. * This source code is licensed under the MIT license found in the
  8. * LICENSE.txt file in the root directory of this source tree.
  9. */
  10. import home from './home';
  11. import about from './about';
  12. import error from './error';
  13. const routes = {
  14. path: '/',
  15. children: [
  16. home,
  17. about,
  18. error,
  19. ],
  20. };
  21. module.exports = routes;