Skip to content
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
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Vue3 place search for Austria, using the [BEV Kataster](https://kataster.bev.gv.
<PlaceSearch @result="showResult" />
</template>
<script setup>
import '@w3geo/vue-place-search/dist/style.css';
import { PlaceSearch } from '@w3geo/vue-place-search';

function showResult(result) {
Expand Down Expand Up @@ -48,4 +47,4 @@ With this, the map view will automatically be centered on the result geometry, a

To develop this plugin, an example has been set up in `example/`. To run the example with dynamically built plugin, run

npm run dev:example
npm run dev
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@
}
},
"scripts": {
"dev": "vite",
"dev": "npm run watch & vite -c example/vite.config.mjs",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
"prepublishOnly": "npm run build",
"watch": "nodemon --watch src -e js,json,mjs,vue --exec 'npm run build'",
"dev:example": "npm run watch & vite -c example/vite.config.mjs",
"test": "npm run lint && npm run typecheck",
"lint": "eslint .",
"typecheck": "vue-tsc --noEmit"
Expand Down