首页 > 解决方案 > 在 Pug 上添加图像时遇到一些问题

问题描述

我在 Pug 中添加图像时遇到了一些问题。这是我的代码:

doctype html
html(lang="en")
  head
    meta(charset="UTF-8")
    meta(http-equiv="X-UA-Compatible", content="IE=edge")
    meta(name="viewport", content="width=device-width, initial-scale=1.0")
    title Forse | Home

    style
      include index.css
  body 
    img(src='./logo.png' alt='logo')

提前致谢,

吉文。


PS这里是我的要点:https ://gist.github.com/jvn11/44e042173fdf951891c9004d3b63e436

标签: imagepug

解决方案


推荐阅读