Skip to content

Commit

Permalink
fix(vue): reactive-google-maps example
Browse files Browse the repository at this point in the history
  • Loading branch information
mohdashraf010897 committed Dec 16, 2023
1 parent 6397e93 commit f0db4a5
Show file tree
Hide file tree
Showing 9 changed files with 240 additions and 781 deletions.
3 changes: 3 additions & 0 deletions packages/vue/examples/reactive-google-map-nuxt/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<NuxtPage />
</template>
159 changes: 0 additions & 159 deletions packages/vue/examples/reactive-google-map-nuxt/assets/css/styles.css

This file was deleted.

29 changes: 0 additions & 29 deletions packages/vue/examples/reactive-google-map-nuxt/nuxt.config.js

This file was deleted.

14 changes: 14 additions & 0 deletions packages/vue/examples/reactive-google-map-nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* eslint-disable no-undef */
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
telemetry: false,
plugins: [
{ src: '~/plugins/reactivesearch-vue', mode: 'all' }
],
build: {
transpile: [/^gmap-vue($|\/)/, /^@appbaseio\/reactivesearch-vue($|\/)/, '@appbaseio/vue-google-maps-community-fork'],
},
nitro: {
preset: 'vercel'
}
})
42 changes: 20 additions & 22 deletions packages/vue/examples/reactive-google-map-nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
{
"name": "reactive-google-map-nuxt",
"version": "1.0.0",
"description": "A reactivesearch example with Nuxt.js",
"author": "Kuldeep Saxena",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@appbaseio/reactivesearch-vue": "3.3.3",
"cross-env": "^5.2.0",
"nuxt": "^3.4.3"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"node-sass": "^7.0.0",
"nodemon": "^1.11.0",
"sass-loader": "^7.1.0"
}
"name": "reactive-google-map-nuxt",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"nuxt": "^3.8.2",
"vue": "^3.3.10",
"vue-router": "^4.2.5"
},
"dependencies": {
"@appbaseio/reactivesearch-vue": "3.3.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3"
}
}
Loading

0 comments on commit f0db4a5

Please sign in to comment.