fix: lint & add no scalable
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
dist
|
|
||||||
public
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": [
|
|
||||||
"@antfu",
|
|
||||||
"@unocss"
|
|
||||||
],
|
|
||||||
"ignorePatterns": "*.json"
|
|
||||||
}
|
|
||||||
@@ -53,3 +53,9 @@ function onClick(item: BottomMenuItem) {
|
|||||||
/>
|
/>
|
||||||
</YlfBottomMenu>
|
</YlfBottomMenu>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.ylf-bottom-menu {
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
import antfu from '@antfu/eslint-config'
|
import antfu from '@antfu/eslint-config'
|
||||||
|
import unocss from '@unocss/eslint-config/flat'
|
||||||
|
|
||||||
export default antfu()
|
export default antfu(
|
||||||
|
{},
|
||||||
|
unocss,
|
||||||
|
)
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export default defineNuxtConfig({
|
|||||||
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
|
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
|
||||||
],
|
],
|
||||||
meta: [
|
meta: [
|
||||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no' },
|
||||||
{ name: 'description', content: appDescription },
|
{ name: 'description', content: appDescription },
|
||||||
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
|
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run convert && cross-env VITE_APP_BUILD_TIME=$(date +%s) nuxi build",
|
"build": "npm run convert && cross-env VITE_APP_BUILD_TIME=$(date +%s) nuxi build",
|
||||||
"convert": "tsx scripts/convert.ts",
|
"convert": "tsx scripts/convert.ts",
|
||||||
"dev": "cross-env VITE_APP_BUILD_TIME=$(date +%s) nuxi dev",
|
"dev": "cross-env VITE_APP_BUILD_TIME=$(date +%s) nuxi dev --host",
|
||||||
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
|
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
|
||||||
"generate": "nuxi generate",
|
"generate": "nuxi generate",
|
||||||
"start:generate": "npx serve .output/public",
|
"start:generate": "npx serve .output/public",
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
"@vite-pwa/nuxt": "^0.1.1",
|
"@vite-pwa/nuxt": "^0.1.1",
|
||||||
"@vue/test-utils": "^2.4.1",
|
"@vue/test-utils": "^2.4.1",
|
||||||
"@vueuse/nuxt": "^10.5.0",
|
"@vueuse/nuxt": "^10.5.0",
|
||||||
"@yunlefun/vue": "^0.0.7",
|
"@yunlefun/vue": "0.0.8-beta.4",
|
||||||
"@zadigetvoltaire/nuxt-gtm": "^0.0.13",
|
"@zadigetvoltaire/nuxt-gtm": "^0.0.13",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
|
|||||||
2195
pnpm-lock.yaml
generated
2195
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user