@viewdo/dxp-story-cli
Version:
DXP Story Management CLI
43 lines (36 loc) • 1.37 kB
HTML
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
<meta http-equiv="x-ua-compatible" content="IE=Edge" />
<meta name="description" content="" />
<meta name="og:title" content="[story.name]" />
<meta name="og:description" content="" />
<title>[story.name]</title>
<script type="module" src="//cdn.jsdelivr.net/npm/@nent/core/dist/esm/nent.js"></script>
<script type="module" src="//unpkg.com/@viewdo/dxp-nent/dist/dxp/dxp.esm.js"></script>
<script type="module" src="//unpkg.com/@viewdo/dxp-story-nent/dist/dxp-story/dxp-story.esm.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" type="print"
onload="this.type = 'all'" />
<style>
[n-cloak] {
display: none
}
</style>
</head>
<body n-cloak>
<n-app app-title="[story.name]" start-path="/start" root="/@[story.key]">
<n-views>
<dxp-experience id="dxp" display="none" xapi-url="[xapi.url]" story-key="[story.key]"></dxp-experience>
<n-view path="/start" page-title="Home">
<h1>New Story</h1>
<div slot="content">
<h2>Home Page</h2>
</div>
</n-view>
</n-views>
</n-app>
</body>
</html>