Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions examples/vue-router/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,4 @@
<div id="app">
<router-view></router-view>
</div>
</template>

<script>
export default {
name: 'app',
};
</script>

<style lang="scss"></style>
</template>
9 changes: 6 additions & 3 deletions examples/vue-router/src/Search.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<template>
<ais-index :search-store="searchStore" :query="query">
<ais-input placeholder="Search for a user..."/>
<ais-results></ais-results>

<ais-input placeholder="Search for a product..."/>
<ais-results>
<template scope="{ result }">
<h2>{{ result.name }}</h2>
</template>
</ais-results>
</ais-index>
</template>

Expand Down
Binary file removed examples/vue-router/src/assets/logo.png
Binary file not shown.