-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
I think it's worth noting somewhere in your Readme that, in order to be able to use partials, you must configure mu.root, like so:
var mu = require('mu');
var path = require('path');
mu.root = path.join(__dirname, 'server/views');
Assuming you were storing your views in the folder server/views relative to the main app.js file. There doesn't appear to be a way to call a partial like so
{{>server/views/header.mu}}
So, the definition, I presume, directs Mu where to look for
{{>header.mu}}
Metadata
Metadata
Assignees
Labels
No labels