Jade URL Routing in Node Express
I am building a Node Express application using Jade, and I am confused about how to route my views to the specific requests the browser will make. I understand that in order to get URLs to work in the browser, we need to use Node's routes; however, from looking online, I have discovered that Express has its own router. I used PHPStorm to start up my project, and the index.jade will load... but how do I load the others? Here is my existing code: var express = require('express'), routes = require('./routes'), http = require('http'), path = require('path'); var app = express(); app.configure