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
[ | |
{ | |
"name": "漫寓公寓", | |
"desc": "描述疫情", | |
"lng": 120.21701117247352, | |
"lat": 30.181280203876543, | |
"category": "1", | |
"happenedAt": 1643330055, | |
"updatedAt": 1643459608, | |
"createdAt": 1643459608 |
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
import { defineConfig } from "vite"; | |
import vue from "@vitejs/plugin-vue"; | |
import { VitePWA } from "vite-plugin-pwa"; | |
import viteESLint from "@ehutch79/vite-eslint"; | |
import html from "vite-plugin-html"; | |
import { resolve } from "path"; | |
import type { Alias } from "vite"; | |
import dynamicImportVars from "@rollup/plugin-dynamic-import-vars"; | |
function pathResolve(dir: string) { |