Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e4b4c00

Browse files
authored
Created Index.html
1 parent 7a57372 commit e4b4c00

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

‎index.html‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Welcome to Vue</title>
5+
<meta charset="utf-8"/>
6+
<script src="https://unpkg.com/vue@2.4.2"></script>
7+
</head>
8+
<body>
9+
10+
<div id="app">
11+
12+
<h1>{{ greeting }}</h1>
13+
14+
<h3 v-if="page>0">Showing Page {{page}} of {{totalPages}} </h3>
15+
16+
<posts v-if="posts">
17+
<post
18+
v-for="post in posts"
19+
:id="post.id"
20+
:title="post.title.rendered"
21+
:excerpt="post.excerpt.rendered"
22+
:key="post.id">
23+
</post>
24+
</posts>
25+
26+
<button v-if="show" @click="getPosts(page)" class="load-posts">Load Posts</button>
27+
28+
</div>
29+
<script src="app.js"></script>
30+
</body>
31+
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /