Skip to content

Instantly share code, notes, and snippets.

View lanseria's full-sized avatar
🏠
Love Working at home

vhikZhangchao lanseria

🏠
Love Working at home
View GitHub Profile
[
{
"name": "漫寓公寓",
"desc": "描述疫情",
"lng": 120.21701117247352,
"lat": 30.181280203876543,
"category": "1",
"happenedAt": 1643330055,
"updatedAt": 1643459608,
"createdAt": 1643459608
@lanseria
lanseria / vite.config.ts
Created May 14, 2021 05:45
Vitejs配置文件
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) {