create-young-proj 1.2.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +61 -0
- package/README.md +6 -1
- package/dist/index.mjs +12 -12
- package/package.json +1 -1
- package/src/index.ts +6 -1
- package/template-nuxt-admin/env.d.ts +19 -1
- package/template-nuxt-admin/nuxt.config.ts +4 -2
- package/template-nuxt-admin/server/plugins/env.ts +0 -1
- package/template-nuxt-website/README.md +4 -0
- package/template-nuxt-website/composables/utils.ts +0 -4
- package/template-nuxt-website/env.d.ts +18 -1
- package/template-nuxt-website/nuxt.config.ts +3 -2
- package/template-nuxt-website/package.json +4 -5
- package/template-nuxt-website/server/api/get_footer_info.get.ts +3 -3
- package/template-nuxt-website/server/api/get_gray_status.get.ts +1 -0
- package/template-nuxt-website/server/api/get_head_nav.get.ts +1 -1
- package/template-nuxt-website/server/api/get_home_banner.get.ts +2 -2
- package/template-nuxt-website/server/routes/get/env.ts +13 -0
- package/template-nuxt-website/yarn.lock +1173 -1599
- package/template-uni-app/.vscode/vue-html.code-snippets +2 -7
- package/template-uni-app/README.md +2 -0
- package/template-uni-app/_env +1 -1
- package/template-uni-app/auto-imports.d.ts +718 -1
- package/template-uni-app/custom-plugins/multiconf.ts +13 -2
- package/template-uni-app/eslint.config.js +3 -1
- package/template-uni-app/package.json +11 -9
- package/template-uni-app/pnpm-lock.yaml +531 -866
- package/template-uni-app/src/manifest.json +1 -1
- package/template-uni-app/src/pages/index.vue +12 -9
- package/template-uni-app/src/pages/my.vue +6 -9
- package/template-uni-app/src/pages.json +1 -1
- package/template-uni-app/uni-pages.d.ts +24 -0
- package/template-uni-app/vite.config.ts +6 -3
- package/template-vitepress/.vitepress/components/HomePage.vue +54 -0
- package/template-vitepress/.vitepress/components/TodoItem.vue +16 -0
- package/template-vitepress/.vitepress/components.d.ts +13 -0
- package/template-vitepress/.vitepress/config.mts +159 -0
- package/template-vitepress/.vitepress/theme/index.ts +26 -0
- package/template-vitepress/.vitepress/theme/style.css +139 -0
- package/template-vitepress/Dockerfile +41 -0
- package/template-vitepress/README.md +102 -0
- package/template-vitepress/_gitignore +6 -0
- package/template-vitepress/_npmrc +2 -0
- package/template-vitepress/_nvmrc +1 -0
- package/template-vitepress/boot.mjs +17 -0
- package/template-vitepress/index.md +53 -0
- package/template-vitepress/nitro.config.ts +19 -0
- package/template-vitepress/package.json +26 -0
- package/template-vitepress/plugins/init.ts +204 -0
- package/template-vitepress/tsconfig.json +3 -0
- package/template-vitepress/vite.config.ts +66 -0
- package/template-uni-app/.eslintignore +0 -1
- package/template-uni-app/.eslintrc +0 -16
@@ -667,13 +667,8 @@
|
|
667
667
|
},
|
668
668
|
"route": {
|
669
669
|
"body": [
|
670
|
-
"<route lang=\"
|
671
|
-
"
|
672
|
-
" \"needLogin\": false,",
|
673
|
-
" \"style\": {",
|
674
|
-
"",
|
675
|
-
" }",
|
676
|
-
"}",
|
670
|
+
"<route lang=\"yaml\">",
|
671
|
+
"needLogin: false",
|
677
672
|
"</route>"
|
678
673
|
],
|
679
674
|
"prefix": "<route",
|
@@ -33,6 +33,8 @@ npm i -g young-commit
|
|
33
33
|
|
34
34
|
- 🛠️ `pinia` 状态管理, 简单易用
|
35
35
|
|
36
|
+
- 🛠️ 便捷的工具函数库 [@uni-helper/uni-use](https://www.npmjs.com/package/@uni-helper/uni-use) 以及 [@vueuse/core](https://vueuse.org/functions.html)
|
37
|
+
|
36
38
|
- 📦 自动按需导入组件和 `API`, 减少冗余代码, 自定义的组件和方法亦可自动导入
|
37
39
|
|
38
40
|
- 方法自动导入,基于 [unplugin-auto-import](https://www.npmjs.com/package/unplugin-auto-import)
|
package/template-uni-app/_env
CHANGED