- {{ msg }} -
- - - diff --git a/docs/src/.vuepress/components/OtherComponent.vue b/docs/src/.vuepress/components/OtherComponent.vue deleted file mode 100755 index 1d97c7c..0000000 --- a/docs/src/.vuepress/components/OtherComponent.vue +++ /dev/null @@ -1,3 +0,0 @@ - -This is another component
- diff --git a/docs/src/.vuepress/components/demo-component.vue b/docs/src/.vuepress/components/demo-component.vue deleted file mode 100755 index 7d49de7..0000000 --- a/docs/src/.vuepress/components/demo-component.vue +++ /dev/null @@ -1,15 +0,0 @@ - -- {{ msg }} -
- - - diff --git a/docs/src/components/map.md b/docs/src/components/map.md index 7638864..1a6cd18 100755 --- a/docs/src/components/map.md +++ b/docs/src/components/map.md @@ -2,30 +2,40 @@ ## Install -to install it via NPM -```bash -npm install -S @fawmi/vue-google-maps -``` -You can also install via Yarn -```bash -yarn add @fawmi/vue-google-maps -``` - -## Example -Here is a basic example +This is the base Map component. If no props are provided, it shows an empty map component with default controls. ```javascript -import { createApp } from 'vue' -import googleMap from '@fawmi/vue-google-maps' -import App from './App.vue'; - -const googleMapOption = { - apiKey: 'here_comes_your_api_key', -} - -const app = createApp(App); - -app.use(googleMap, googleMapOption) -app.mount('#app') - +