search

Home  >  Q&A  >  body text

html - assets中的静态css无法引入

迷茫迷茫2837 days ago726

reply all(4)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:03:47

    Put the css file into the /static/css directory of the project

    Then use /static/css/xxx.css to reference

    reply
    0
  • 迷茫

    迷茫2017-04-17 15:03:47

    Write directly

    <link rel="stylesheet" herf="./static/css/style.css">

    reply
    0
  • 阿神

    阿神2017-04-17 15:03:47

    This is an error message

    reply
    0
  • 黄舟

    黄舟2017-04-17 15:03:47

    You didn’t pack it when you packed it, right? Post the configuration of webpack css loader

    reply
    0
  • Cancelreply