[U] Update channel content
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<!-- This is a demo html to load tg-blog -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>My Blog</title>
|
||||
|
||||
<!-- Import Libraries -->
|
||||
<script src="https://unpkg.com/vue@3"></script>
|
||||
<script src="https://unpkg.com/tg-blog"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/tg-blog/dist/style.css">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
body {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Template setup -->
|
||||
<div id="app">
|
||||
<tg-blog posts-url="./posts.json"></tg-blog>
|
||||
</div>
|
||||
|
||||
<!-- Vue js setup -->
|
||||
<script>
|
||||
Vue.createApp().component("tg-blog", TgBlog.TgBlog).mount('#app')
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user