博客
关于我
tp5使用header和footer模板
阅读量:239 次
发布时间:2019-03-01

本文共 154 字,大约阅读时间需要 1 分钟。

其实只要一句:

{  include file="index@tpl/header" /}

header.html的实际目录是在:

/项目/application/index/view/tpl/header.html

如果还是有点乱,看下面的图:

这里写图片描述

在index.html引用header.html可以这样写。

你可能感兴趣的文章
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>