Last active
February 18, 2018 13:52
-
-
Save JulienHe/d20de8be8099e7c451a6fe662a0cae73 to your computer and use it in GitHub Desktop.
routes.js for next-routes with Firebase Functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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