kopia lustrzana https://github.com/paraboul/mapchecking
Update packages
rodzic
05570d09ac
commit
6a36800d35
|
@ -0,0 +1,4 @@
|
||||||
|
node_modules
|
||||||
|
.DS_Store
|
||||||
|
dist
|
||||||
|
*.local
|
Plik diff jest za duży
Load Diff
|
@ -7,10 +7,10 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@googlemaps/js-api-loader": "^1.4.0",
|
"@googlemaps/js-api-loader": "^1.4.0",
|
||||||
"@vitejs/plugin-vue": "^1.2.4",
|
"@vitejs/plugin-vue": "^2.2.4",
|
||||||
"between": "git+https://github.com/paraboul/between.git",
|
|
||||||
"js-base64": "^3.5.2",
|
"js-base64": "^3.5.2",
|
||||||
"tailwindcss": "^2.2.4",
|
"tailwindcss": "^3.0.23",
|
||||||
|
"tatween": "^0.2.0",
|
||||||
"vue": "^3.0.0-rc.1"
|
"vue": "^3.0.0-rc.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Map from './components/Map.vue'
|
import Map from './components/Map.vue'
|
||||||
import Between from 'between'
|
import { tatween, Easing } from 'tatween';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
|
@ -81,9 +81,9 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
setDensity(val) {
|
setDensity(val) {
|
||||||
Between.block(800, Between.easing.Exponential.Out, (obj) => {
|
tatween(800, Easing.Exponential.Out, (obj) => {
|
||||||
obj.density = val;
|
obj.density = val;
|
||||||
}, this);
|
}, this)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -6,14 +6,11 @@ module.exports = {
|
||||||
// removeDeprecatedGapUtilities: true,
|
// removeDeprecatedGapUtilities: true,
|
||||||
// purgeLayersByDefault: true,
|
// purgeLayersByDefault: true,
|
||||||
},
|
},
|
||||||
purge: {
|
|
||||||
enabled: true,
|
|
||||||
layers: ['utilities'],
|
|
||||||
content: [
|
content: [
|
||||||
"./src/**/*.vue",
|
"./src/**/*.vue",
|
||||||
"./index.html"
|
"./index.html"
|
||||||
]
|
],
|
||||||
},
|
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
import { defineConfig } from 'vite';
|
||||||
|
import vue from '@vitejs/plugin-vue';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
build: {
|
||||||
|
sourcemap: 'hidden' // They are uploaded to sentry in production
|
||||||
|
// The browser doesn't need to know about theses files
|
||||||
|
},
|
||||||
|
plugins: [
|
||||||
|
vue({}),
|
||||||
|
],
|
||||||
|
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'@': path.resolve(__dirname, './src')
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
server: {
|
||||||
|
https: false,
|
||||||
|
}
|
||||||
|
})
|
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue