严浩
2024-11-14 23:11:09 +08:00
parent 7b28d05d0b
commit a2bd1f22d2
5 changed files with 1798 additions and 3 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
shamefully-hoist=true

View File

@ -1,8 +1,11 @@
import { zh } from '@formkit/i18n'
import { genesisIcons } from "@formkit/icons"
import { rootClasses } from "./formkit.theme"
import { DefaultConfigOptions } from '@formkit/vue'
import { rootClasses } from "./formkit.theme"
const config: DefaultConfigOptions = {
locales: { zh },
locale: 'zh',
icons: { ...genesisIcons },
config: { rootClasses }
}

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />

1790
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
<script setup lang="ts">
async function submit() {
async function submit(...args: any[]) {
console.debug('submit',`args :>> `, args);
await new Promise(r => setTimeout(r, 1000))
alert('Submitted! 🎉')
}