Commit 637f5ef0 authored by Michael Underwood's avatar Michael Underwood
Browse files

Disallow JS, convert playground to TS

parent f21dd1d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
    </div>
  </div>
</template>
<script>
<script lang="ts">
export default {
  components: {},
};
+2 −1
Original line number Diff line number Diff line
import "leaflet/dist/leaflet.css";
import { createApp } from "vue";
import { createRouter, createWebHistory } from "vue-router";

import App from "./App.vue";
import "leaflet/dist/leaflet.css";
import Home from "./views/DemoHome.vue";

const routes = [
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    <l-circle :lat-lng="[44.48865, 11.3317]" :radius="5000" color="green" />
  </l-map>
</template>
<script>
<script lang="ts">
import { LCircle, LMap, LTileLayer } from "@src/components";

export default {
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    <l-circle-marker :lat-lng="[41.89026, 12.49238]" :radius="50" />
  </l-map>
</template>
<script>
<script lang="ts">
import { LCircleMarker, LMap, LTileLayer } from "@src/components";

export default {
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
    />
  </l-map>
</template>
<script>
<script lang="ts">
import { LControlAttribution, LMap, LTileLayer } from "@src/components";

export default {
Loading