diff --git a/dev/index.html b/dev/index.html
deleted file mode 100644
index 9083f15..0000000
--- a/dev/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
- vue3-google-map
-
-
-
-
-
-
diff --git a/dev/main.ts b/dev/main.ts
deleted file mode 100644
index 43451bb..0000000
--- a/dev/main.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { createApp } from "vue";
-import App from "./serve.vue";
-
-createApp(App).mount("#app");
diff --git a/dev/serve.vue b/dev/serve.vue
deleted file mode 100644
index d6c33b5..0000000
--- a/dev/serve.vue
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js
deleted file mode 100644
index ad8dfa4..0000000
--- a/docs/.vitepress/config.js
+++ /dev/null
@@ -1,73 +0,0 @@
-const path = require("path");
-
-module.exports = {
- title: "vue3-google-map",
- description: "vue3-google-map documentation",
- themeConfig: {
- nav: [
- {
- text: "Getting Started",
- link: "/getting-started/",
- },
- {
- text: "Components",
- link: "/components/",
- },
- // {
- // text: "Themes",
- // link: "/themes/",
- // },
- {
- text: "Advanced Usage",
- link: "/advanced-usage/",
- },
- ],
- sidebar: [
- {
- text: "Components",
- children: [
- {
- text: "Marker",
- link: "/components/marker",
- },
- {
- text: "Polyline",
- link: "/components/polyline",
- },
- {
- text: "Polygon",
- link: "/components/polygon",
- },
- {
- text: "Rectangle",
- link: "/components/rectangle",
- },
- {
- text: "Circle",
- link: "/components/circle",
- },
- {
- text: "Info Window",
- link: "/components/info-window",
- },
- {
- text: "Custom Marker",
- link: "/components/custom-marker",
- },
- {
- text: "Custom Control",
- link: "/components/custom-control",
- },
- {
- text: "Marker Cluster",
- link: "/components/marker-cluster",
- },
- ],
- },
- ],
- },
- alias: {
- "/@src": path.resolve(__dirname, "../../src"),
- "/@docs": path.resolve(__dirname, ".."),
- },
-};
diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js
deleted file mode 100644
index 263df7b..0000000
--- a/docs/.vitepress/theme/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import theme from 'vitepress/dist/client/theme-default';
-import * as libraryComponents from '/@src/components/index';
-import * as examples from '/@docs/examples/index';
-import { h } from 'vue';
-import { GOOGLE_API_KEY } from '/@docs/env';
-
-export default {
- ...theme,
- enhanceApp({ app, router, siteData }) {
- // app is the Vue 3 app instance from createApp()
- // router is VitePress' custom router (see `lib/app/router.js`)
- // siteData is a ref of current site-level metadata.
-
- const { GoogleMap, ...libraryComponentsRest } = libraryComponents;
-
- app.component('GoogleMap', {
- render() {
- return h(GoogleMap, { apiKey: GOOGLE_API_KEY }, this.$slots.default);
- },
- });
-
- for (const key in libraryComponentsRest) {
- app.component(key, libraryComponents[key]);
- }
-
- for (const key in examples) {
- app.component(key, {
- render() {
- return h(examples[key], { apiKey: GOOGLE_API_KEY });
- },
- });
- }
- },
-};
diff --git a/docs/themes/index.md b/docs/themes/index.md
index e430121..cb75dfa 100644
--- a/docs/themes/index.md
+++ b/docs/themes/index.md
@@ -4,7 +4,7 @@ sidebar: auto
# Themes
-`vue3-google-map` comse with a curated set of default themes for you to use. You can also define custom styles utilizing the Google Maps API.
+`vue3-google-map` comes with a curated set of default themes for you to use. You can also define custom styles utilizing the Google Maps API.
## Default Themes
@@ -61,7 +61,7 @@ select {
## Custom Styles
::: warning
-Please be aware that if you specify a default theme that it will overrride any custom styles you define.
+Please be aware that if you specify a default theme that it will override any custom styles you define.
:::
Alternatively you can define your own styles by passing them to the `styles` prop of the `GoogleMap` component. Please refer to the [Google Maps documentation](https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions.styles) on custom styles.
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
new file mode 100644
index 0000000..66d7ca1
--- /dev/null
+++ b/pnpm-workspace.yaml
@@ -0,0 +1,3 @@
+packages:
+ - lib
+ - docs