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>