-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
33,288 additions
and
4,023 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["plugin:vue/vue3-recommended", "eslint:recommended", "prettier"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Vue 3 + Vite | ||
|
||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. | ||
|
||
## Recommended IDE Setup | ||
|
||
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { createFilter, dataToEsm } from "@rollup/pluginutils" | ||
|
||
export default function json( | ||
options = { | ||
include: ["**/*.json", "**/*.geojson"], | ||
}, | ||
) { | ||
const filter = createFilter(options.include, options.exclude) | ||
const indent = "indent" in options ? options.indent : "\t" | ||
|
||
return { | ||
name: "geojson", | ||
|
||
// eslint-disable-next-line no-shadow | ||
transform(json, id) { | ||
if (!filter(id)) return null | ||
try { | ||
const parsed = JSON.parse(json) | ||
return { | ||
code: dataToEsm(parsed, { | ||
preferConst: options.preferConst, | ||
compact: options.compact, | ||
namedExports: options.namedExports, | ||
indent, | ||
}), | ||
map: { mappings: "" }, | ||
} | ||
} catch (err) { | ||
const message = "Could not parse GeoJSON file" | ||
const position = parseInt(/[\d]/.exec(err.message)[0], 10) | ||
this.warn({ message, id, position }) | ||
return null | ||
} | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
<!doctype html> | ||
<html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
<title>Martinez Clipping</title> | ||
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.2.0/leaflet.css"> | ||
<!-- <link rel="stylesheet" type="text/css" href="../node_modules/leaflet/dist/leaflet.css"> --> | ||
|
||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jsts/1.2.0/jsts.min.js"></script> | ||
<!-- <script type="text/javascript" src="../node_modules/jsts/dist/jsts.min.js"></script> --> | ||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.2.0/leaflet.js"></script> | ||
<!-- <script type="text/javascript" src="../node_modules/leaflet/dist/leaflet.js"></script> --> | ||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/leaflet-editable/0.7.0-beta.1/Leaflet.Editable.min.js"></script> | ||
<!-- <script type="text/javascript" src="../node_modules/leaflet-editable/src/Leaflet.Editable.js"></script> --> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Polygon-Clipping</title> | ||
</head> | ||
<body> | ||
<script src="js/bundle.js"></script> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.