@weapp-core/init 1.1.15 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +261 -60
- package/dist/index.js +260 -59
- package/package.json +6 -6
- package/templates/default/README.md +2 -2
- package/templates/default/package.json +3 -3
- package/templates/default/project.private.config.json +2 -1
- package/templates/default/src/app.json +1 -1
- package/templates/default/src/components/Navbar/Navbar.json +1 -1
- package/templates/default/src/pages/index/index.json +1 -1
- package/templates/default/src/sitemap.json +1 -1
- package/templates/default/src/theme.json +1 -1
- package/templates/default/vite.config.ts +1 -1
- package/templates/tailwindcss/README.md +2 -2
- package/templates/tailwindcss/package.json +8 -8
- package/templates/tailwindcss/project.private.config.json +2 -1
- package/templates/tailwindcss/src/app.json +1 -1
- package/templates/tailwindcss/src/components/Navbar/Navbar.json +1 -1
- package/templates/tailwindcss/src/pages/index/index.json +1 -1
- package/templates/tailwindcss/src/pages/index/index.wxml +6 -6
- package/templates/tailwindcss/src/sitemap.json +1 -1
- package/templates/tailwindcss/src/theme.json +1 -1
- package/templates/tailwindcss/vite.config.ts +1 -1
- package/templates/tdesign/README.md +2 -2
- package/templates/tdesign/package.json +11 -11
- package/templates/tdesign/project.private.config.json +2 -1
- package/templates/tdesign/src/app.json +1 -1
- package/templates/tdesign/src/components/Navbar/Navbar.json +1 -1
- package/templates/tdesign/src/pages/index/index.json +1 -1
- package/templates/tdesign/src/pages/index/index.wxml +4 -4
- package/templates/tdesign/src/sitemap.json +1 -1
- package/templates/tdesign/src/theme.json +1 -1
- package/templates/tdesign/vite.config.ts +1 -1
- package/templates/vant/README.md +2 -2
- package/templates/vant/package.json +11 -11
- package/templates/vant/project.private.config.json +2 -1
- package/templates/vant/src/app.json +1 -1
- package/templates/vant/src/components/Navbar/Navbar.json +1 -1
- package/templates/vant/src/pages/index/index.json +1 -1
- package/templates/vant/src/pages/index/index.wxml +4 -4
- package/templates/vant/src/sitemap.json +1 -1
- package/templates/vant/src/theme.json +1 -1
- package/templates/vant/vite.config.ts +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
<view class="min-h-screen {{ mode === 'light'?'bg-gray-100 text-slate-800':'bg-gray-900 text-slate-200' }} transition-colors duration-500">
|
|
2
2
|
<view class="flex flex-col items-center pt-20 space-y-10">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
|
-
<view class="w-24 h-24 bg-[url(https://vite.
|
|
5
|
-
<view class="w-32 h-24 bg-[url(https://vite.
|
|
4
|
+
<view class="w-24 h-24 bg-[url(https://ice-vite.netlify.app/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
|
+
<view class="w-32 h-24 bg-[url(https://ice-vite.netlify.app/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
6
6
|
</view>
|
|
7
7
|
<view class="bg-gradient-to-r from-green-400 to-sky-400 bg-clip-text text-xl font-extrabold text-transparent underline">
|
|
8
8
|
weapp-vite & weapp-tailwindcss
|
|
9
9
|
</view>
|
|
10
10
|
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
|
|
11
|
-
<view class="underline" mark:url="https://vite.
|
|
12
|
-
https://vite.
|
|
11
|
+
<view class="underline" mark:url="https://ice-vite.netlify.app" bind:tap="copy">
|
|
12
|
+
https://ice-vite.netlify.app
|
|
13
13
|
</view>
|
|
14
|
-
<view class="underline" mark:url="https://tw.
|
|
15
|
-
https://tw.
|
|
14
|
+
<view class="underline" mark:url="https://ice-tw.netlify.app/" bind:tap="copy">
|
|
15
|
+
https://ice-tw.netlify.app/
|
|
16
16
|
</view>
|
|
17
17
|
</view>
|
|
18
18
|
</view>
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"g": "weapp-vite generate",
|
|
24
24
|
"postinstall": "weapp-tw patch"
|
|
25
25
|
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"tdesign-miniprogram": "^1.8.8"
|
|
28
|
+
},
|
|
26
29
|
"devDependencies": {
|
|
27
|
-
"@egoist/tailwindcss-icons": "^1.
|
|
28
|
-
"@iconify-json/mdi": "^1.2.
|
|
29
|
-
"autoprefixer": "^10.4.
|
|
30
|
-
"miniprogram-api-typings": "^4.0.
|
|
31
|
-
"postcss": "^8.
|
|
32
|
-
"sass": "^1.
|
|
30
|
+
"@egoist/tailwindcss-icons": "^1.9.0",
|
|
31
|
+
"@iconify-json/mdi": "^1.2.3",
|
|
32
|
+
"autoprefixer": "^10.4.21",
|
|
33
|
+
"miniprogram-api-typings": "^4.0.5",
|
|
34
|
+
"postcss": "^8.5.3",
|
|
35
|
+
"sass": "^1.86.3",
|
|
33
36
|
"tailwindcss": "^3.4.17",
|
|
34
|
-
"typescript": "^5.
|
|
35
|
-
"weapp-tailwindcss": "^
|
|
37
|
+
"typescript": "^5.8.3",
|
|
38
|
+
"weapp-tailwindcss": "^4.1.5",
|
|
36
39
|
"weapp-vite": "workspace:*"
|
|
37
|
-
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"tdesign-miniprogram": "^1.8.4"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<view class="min-h-screen {{ mode === 'light'?'bg-gray-100 text-slate-800':'bg-gray-900 text-slate-200' }} transition-colors duration-500">
|
|
2
2
|
<view class="flex flex-col items-center pt-20 space-y-10">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
|
-
<view class="w-24 h-24 bg-[url(https://vite.
|
|
5
|
-
<view class="w-32 h-24 bg-[url(https://vite.
|
|
4
|
+
<view class="w-24 h-24 bg-[url(https://ice-vite.netlify.app/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
|
+
<view class="w-32 h-24 bg-[url(https://ice-vite.netlify.app/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
6
6
|
</view>
|
|
7
7
|
<view class="bg-gradient-to-r from-green-400 to-sky-400 bg-clip-text text-xl font-extrabold text-transparent underline">
|
|
8
8
|
weapp-vite & weapp-tailwindcss
|
|
9
9
|
</view>
|
|
10
10
|
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
|
|
11
|
-
<view class="underline" mark:url="https://vite.
|
|
12
|
-
https://vite.
|
|
11
|
+
<view class="underline" mark:url="https://ice-vite.netlify.app" bind:tap="copy">
|
|
12
|
+
https://ice-vite.netlify.app
|
|
13
13
|
</view>
|
|
14
14
|
<view class="underline" mark:url="https://tw.icebreaker.top" bind:tap="copy">
|
|
15
15
|
https://tw.icebreaker.top
|
package/templates/vant/README.md
CHANGED
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"g": "weapp-vite generate",
|
|
24
24
|
"postinstall": "weapp-tw patch"
|
|
25
25
|
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@vant/weapp": "^1.11.7"
|
|
28
|
+
},
|
|
26
29
|
"devDependencies": {
|
|
27
|
-
"@egoist/tailwindcss-icons": "^1.
|
|
28
|
-
"@iconify-json/mdi": "^1.2.
|
|
29
|
-
"autoprefixer": "^10.4.
|
|
30
|
-
"miniprogram-api-typings": "^4.0.
|
|
31
|
-
"postcss": "^8.
|
|
32
|
-
"sass": "^1.
|
|
30
|
+
"@egoist/tailwindcss-icons": "^1.9.0",
|
|
31
|
+
"@iconify-json/mdi": "^1.2.3",
|
|
32
|
+
"autoprefixer": "^10.4.21",
|
|
33
|
+
"miniprogram-api-typings": "^4.0.5",
|
|
34
|
+
"postcss": "^8.5.3",
|
|
35
|
+
"sass": "^1.86.3",
|
|
33
36
|
"tailwindcss": "^3.4.17",
|
|
34
|
-
"typescript": "^5.
|
|
35
|
-
"weapp-tailwindcss": "^
|
|
37
|
+
"typescript": "^5.8.3",
|
|
38
|
+
"weapp-tailwindcss": "^4.1.5",
|
|
36
39
|
"weapp-vite": "workspace:*"
|
|
37
|
-
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@vant/weapp": "^1.11.7"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<view class="min-h-screen {{ mode === 'light'?'bg-gray-100 text-slate-800':'bg-gray-900 text-slate-200' }} transition-colors duration-500">
|
|
2
2
|
<view class="flex flex-col items-center pt-20 space-y-10">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
|
-
<view class="w-24 h-24 bg-[url(https://vite.
|
|
5
|
-
<view class="w-32 h-24 bg-[url(https://vite.
|
|
4
|
+
<view class="w-24 h-24 bg-[url(https://ice-vite.netlify.app/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
|
+
<view class="w-32 h-24 bg-[url(https://ice-vite.netlify.app/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
6
6
|
</view>
|
|
7
7
|
<view class="bg-gradient-to-r from-green-400 to-sky-400 bg-clip-text text-xl font-extrabold text-transparent underline">
|
|
8
8
|
weapp-vite & weapp-tailwindcss
|
|
9
9
|
</view>
|
|
10
10
|
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
|
|
11
|
-
<view class="underline" mark:url="https://vite.
|
|
12
|
-
https://vite.
|
|
11
|
+
<view class="underline" mark:url="https://ice-vite.netlify.app" bind:tap="copy">
|
|
12
|
+
https://ice-vite.netlify.app
|
|
13
13
|
</view>
|
|
14
14
|
<view class="underline" mark:url="https://tw.icebreaker.top" bind:tap="copy">
|
|
15
15
|
https://tw.icebreaker.top
|