ejs 'partial is not defined'

后端 未结 2 1601
太阳男子
太阳男子 2020-12-14 16:15

Okay I have a mostly static homepage but I wanted to have partial views that for navigation, footer ect. I\'m using ejs and it looks like this:

my controller: home.j

2条回答
  •  无人及你
    2020-12-14 16:46

    Partial was removed in 3.x. It's now up to the templating engine to provide partials.

提交回复
热议问题