Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit 550da56

Browse files
committed
chore: fix nuxt.js
1 parent d1cc95a commit 550da56

File tree

22 files changed

+6204
-984
lines changed

22 files changed

+6204
-984
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Vue InstantSearch examples
22

3-
Some examples for [Vue InstantSearch](https://community.algolia.com/vue-instantsearch) by Algolia
3+
Some examples for [Vue InstantSearch](https://community.algolia.com/vue-instantsearch) by Algolia.
4+
5+
To start, you need to run `yarn` to install all of the dependencies, then go to a subdirectory, and run the script you want, like `yarn start`.
46

57
## Included examples
68

@@ -9,4 +11,4 @@ Some examples for [Vue InstantSearch](https://community.algolia.com/vue-instants
911
* nuxt
1012
* quick-start
1113
* ssr
12-
* vue-router
14+
* vue-router (need to run separately in directory)

examples/nuxt/.editorconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

examples/nuxt/.eslintrc.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

examples/nuxt/assets/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/nuxt/components/Logo.vue

Lines changed: 0 additions & 78 deletions
This file was deleted.

examples/nuxt/components/README.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/nuxt/layouts/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/nuxt/layouts/default.vue

Lines changed: 0 additions & 53 deletions
This file was deleted.

examples/nuxt/middleware/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/nuxt/nuxt.config.js

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,15 @@
11
module.exports = {
2-
/*
3-
** Headers of the page
4-
*/
52
head: {
6-
title: 'nuxt-instantsearch',
3+
title: "nuxt-instantsearch",
74
meta: [
8-
{ charset: 'utf-8' },
9-
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
10-
{ hid: 'description', name: 'description', content: 'Nuxt.js integration with Vue InstantSearch' }
5+
{ charset: "utf-8" },
6+
{ name: "viewport", content: "width=device-width, initial-scale=1" },
7+
{
8+
hid: "description",
9+
name: "description",
10+
content: "Nuxt integration with Vue InstantSearch",
11+
},
1112
],
12-
link: [
13-
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
14-
]
1513
},
16-
/*
17-
** Customize the progress-bar color
18-
*/
19-
loading: { color: '#3B8070' },
20-
/*
21-
** Build configuration
22-
*/
23-
build: {
24-
/*
25-
** Run ESLINT on save
26-
*/
27-
extend (config, ctx) {
28-
if (ctx.dev && ctx.isClient) {
29-
config.module.rules.push({
30-
enforce: 'pre',
31-
test: /\.(js|vue)$/,
32-
loader: 'eslint-loader',
33-
exclude: /(node_modules)/
34-
})
35-
}
36-
}
37-
},
38-
39-
plugins: ['~plugins/vue-instantsearch']
40-
}
14+
plugins: ["~/plugins/vue-instantsearch"],
15+
};

0 commit comments

Comments
 (0)