Skip to content

Commit

Permalink
feat: supplement the path of components and styles (#36)
Browse files Browse the repository at this point in the history
* feat: supplement the path of components and styles

* chore: optimize code

* chore: update dependencies
  • Loading branch information
tolking authored Jun 30, 2024
1 parent 1a5eddf commit 59782a7
Show file tree
Hide file tree
Showing 11 changed files with 7,568 additions and 4,569 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: latest
registry-url: https://registry.npmjs.org/

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: latest

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16, 18]
node-version: [18, latest]
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: latest

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@
"vant": ">=4"
},
"dependencies": {
"@nuxt/kit": "^3.7.0",
"@nuxt/kit": "^3.12.2",
"magic-string": "^0.29.0",
"unplugin": "^1.3.1"
"unplugin": "^1.10.2"
},
"devDependencies": {
"@nuxt/module-builder": "^0.5.0",
"@nuxt/schema": "^3.7.0",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@types/node": "^18.15.13",
"eslint": "^8.46.0",
"nuxt": "^3.7.0",
"typescript": "^5.1.6",
"vant": "^4.6.6",
"vue": "^3.3.4"
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.12.2",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@types/node": "^18.19.39",
"eslint": "^8.57.0",
"nuxt": "^3.12.2",
"typescript": "^5.5.2",
"vant": "^4.9.1",
"vue": "^3.4.31"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions playground/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ onMounted(() => {
@close="showCascader = false"
/>
</van-popup>
<van-floating-panel
<!-- <van-floating-panel
v-model:show="showFloatingPanel"
:content-draggable="false"
:lock-scroll="true"
Expand All @@ -178,7 +178,7 @@ onMounted(() => {
<van-cell-group>
<van-cell v-for=" (n, i) in 150" :key="i" :title="n" :value="n" />
</van-cell-group>
</van-floating-panel>
</van-floating-panel> -->

<van-back-top bottom="70" />
<van-sticky position="bottom">
Expand Down
1 change: 1 addition & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineNuxtConfig } from 'nuxt/config'
import Vant from '..'

export default defineNuxtConfig({
devtools: true,
modules: [Vant],
vant: {
lazyload: true
Expand Down
Loading

0 comments on commit 59782a7

Please sign in to comment.