Skip to content

picidaejs/picidae-theme-haier

Repository files navigation

picidae-theme-haier

🍔 The universal picidae theme for project / library / framework etc.

build status NPM version NPM Downloads

Document check out here

SSR

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: link is ahead of style-->
  <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>