feat: 整合elements主题
This commit is contained in:
16
router/theme/elements/index.html
Normal file
16
router/theme/elements/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
|
||||
<title>{{DOC_TITLE}}</title>
|
||||
<!-- Embed elements Elements via Web Component -->
|
||||
<script src="web-components.min.js"></script>
|
||||
<link href="styles.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<!--github 地址: https://github.com/stoplightio/elements-->
|
||||
<elements-api apiDescriptionUrl="{{DOC_PATH}}" layout="sidebar" router="hash"/>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user