Skip to content

Instantly share code, notes, and snippets.

@JulienHe
Last active February 18, 2018 13:52
Show Gist options
  • Save JulienHe/d20de8be8099e7c451a6fe662a0cae73 to your computer and use it in GitHub Desktop.
Save JulienHe/d20de8be8099e7c451a6fe662a0cae73 to your computer and use it in GitHub Desktop.
routes.js for next-routes with Firebase Functions
const routes = module.exports = require('next-routes')()
routes
.add('home', '/', 'index')
.add('about', '/about', 'about')
.add('blog', '/blog', 'about')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment