Skip to content

Commit

Permalink
fix: lint & add no scalable
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Nov 5, 2023
1 parent 203ab27 commit 246a655
Show file tree
Hide file tree
Showing 7 changed files with 766 additions and 1,458 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintrc

This file was deleted.

6 changes: 6 additions & 0 deletions components/TheBottomMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ function onClick(item: BottomMenuItem) {
/>
</YlfBottomMenu>
</template>

<style>
.ylf-bottom-menu {
padding-bottom: env(safe-area-inset-bottom);
}
</style>
6 changes: 5 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import antfu from '@antfu/eslint-config'
import unocss from '@unocss/eslint-config/flat'

export default antfu()
export default antfu(
{},
unocss,
)
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default defineNuxtConfig({
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
],
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: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "npm run convert && cross-env VITE_APP_BUILD_TIME=$(date +%s) nuxi build",
"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",
"generate": "nuxi generate",
"start:generate": "npx serve .output/public",
Expand Down Expand Up @@ -43,7 +43,7 @@
"@vite-pwa/nuxt": "^0.1.1",
"@vue/test-utils": "^2.4.1",
"@vueuse/nuxt": "^10.5.0",
"@yunlefun/vue": "^0.0.7",
"@yunlefun/vue": "0.0.8-beta.4",
"@zadigetvoltaire/nuxt-gtm": "^0.0.13",
"consola": "^3.2.3",
"cross-env": "^7.0.3",
Expand Down

1 comment on commit 246a655

@vercel
Copy link

@vercel vercel bot commented on 246a655 Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cook – ./

cook-today.vercel.app
cook-yunyoujun.vercel.app
cook-git-dev-yunyoujun.vercel.app
cook.yunle.app

Please sign in to comment.