Haier

  • Get Started
  • Help
  • Example
  • English
  • GitHub

>Get Stated

Get Stated

  • 环境安装
  • 开始写文档
  • Explanation of Configuration
  • Server Side Render

Example Documents

  • document example a
  • document example b
Edit

Server Side Render


Haier supports picidae ssr and provides title and css. We recommend the template html as follows.

<!DOCTYPE html>
<html>
<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">
  <!--NOTE-->
  <title> {{ themeData.title }} </title>
  <link rel="stylesheet" href="{{ root }}style.css">
  <!--NOTE-->
  <style type="text/css">{{ themeData.css | safe }}</style>
</head>
<body>
<div id="root">
  {{ content | safe }}
</div>
<script src="{{ root }}PICIDAE_COMMON.js"></script>
<script src="{{ root }}PICIDAE_ENTRY.js"></script>
</body>
</html>
← Explanation of Configurationdocument example a →

Copyright © 2018 - Built by Picidae

Powered by 🍔 Haier.