We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d2c96 commit 8c0efe0Copy full SHA for 8c0efe0
examples/stylus/app.js
@@ -38,7 +38,10 @@ app.use(stylus.middleware({
38
39
// minimal setup both reading and writting to ./public
40
// would look like:
41
-// app.use(stylus.minimal({ src: __dirname + '/public' }));
+// app.use(stylus.middleware({ src: __dirname + '/public' }));
42
+
43
+// the middleware itself does not serve the static
44
+// css files, so we need to expose them with staticProvider
45
46
app.use(express.staticProvider(__dirname + '/public'));
47
0 commit comments