You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If views share common plugins (e.g [BEM](https://github.com/rajdee/posthtml-bem)), but view specific additions are necessary, use the extend option. This 'extends' the global setup with the local plugins as specified in the respective route.
38
49
50
+
```javascript
51
+
app.set('view options', [ PostHTML Global Plugins ])
39
52
```
53
+
54
+
```javascript
55
+
res.render('file', { plugins: [ PostHTML Local Plugins ], extend:true, })
0 commit comments