Skip to content

Commit 142d1d7

Browse files
committed
Adds bug repro
1 parent 3a9827f commit 142d1d7

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

src/App.vue

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
11
<template>
2-
<div id="app">
3-
<header class="header">
4-
<nav class="inner">
5-
<router-link to="/" exact>
6-
<img class="logo" src="~public/logo-48.png" alt="logo">
7-
</router-link>
8-
<router-link to="/top">Top</router-link>
9-
<router-link to="/new">New</router-link>
10-
<router-link to="/show">Show</router-link>
11-
<router-link to="/ask">Ask</router-link>
12-
<router-link to="/job">Jobs</router-link>
13-
<a class="github" href="https://github.com/vuejs/vue-hackernews-2.0" target="_blank" rel="noopener">
14-
Built with Vue.js
15-
</a>
16-
</nav>
17-
</header>
18-
<transition name="fade" mode="out-in">
19-
<router-view class="view"></router-view>
20-
</transition>
21-
</div>
2+
<div id="app">
3+
<bug/>
4+
</div>
225
</template>
236

7+
<script>
8+
export default {
9+
components: {
10+
Bug: () => import("./Bug.vue")
11+
}
12+
};
13+
</script>
14+
2415
<style lang="stylus">
2516
body
2617
font-family -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;

src/Bug.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<script>
2+
export default {
3+
functional: true,
4+
render(h) {
5+
return h("div", "hi");
6+
}
7+
};
8+
</script>

0 commit comments

Comments
 (0)