Skip to content

Commit 285925d

Browse files
authored
Merge pull request #17 from w3geo/dev
Use npm run dev for developing, update README
2 parents 15c45a3 + b049dbb commit 285925d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Vue3 place search for Austria, using the [BEV Kataster](https://kataster.bev.gv.
1313
<PlaceSearch @result="showResult" />
1414
</template>
1515
<script setup>
16-
import '@w3geo/vue-place-search/dist/style.css';
1716
import { PlaceSearch } from '@w3geo/vue-place-search';
1817
1918
function showResult(result) {
@@ -48,4 +47,4 @@ With this, the map view will automatically be centered on the result geometry, a
4847

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

51-
npm run dev:example
50+
npm run dev

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@
3030
}
3131
},
3232
"scripts": {
33-
"dev": "vite",
33+
"dev": "npm run watch & vite -c example/vite.config.mjs",
3434
"build": "vue-tsc -b && vite build",
3535
"preview": "vite preview",
3636
"prepublishOnly": "npm run build",
3737
"watch": "nodemon --watch src -e js,json,mjs,vue --exec 'npm run build'",
38-
"dev:example": "npm run watch & vite -c example/vite.config.mjs",
3938
"test": "npm run lint && npm run typecheck",
4039
"lint": "eslint .",
4140
"typecheck": "vue-tsc --noEmit"

0 commit comments

Comments
 (0)