create-young-proj 1.2.0 → 1.3.0
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/CHANGELOG.md +52 -0
- package/package.json +1 -1
- package/template-nuxt-admin/nuxt.config.ts +4 -2
- package/template-nuxt-admin/server/plugins/env.ts +10 -4
- package/template-nuxt-website/README.md +12 -0
- package/template-nuxt-website/boot.mjs +10 -1
- package/template-nuxt-website/composables/config.ts +10 -4
- package/template-nuxt-website/composables/utils.ts +0 -4
- package/template-nuxt-website/nuxt.config.ts +19 -2
- package/template-nuxt-website/package.json +4 -5
- package/template-nuxt-website/server/api/get_footer_info.get.ts +5 -5
- package/template-nuxt-website/server/api/get_gray_status.get.ts +3 -2
- package/template-nuxt-website/server/api/get_head_nav.get.ts +3 -3
- package/template-nuxt-website/server/api/get_home_banner.get.ts +4 -4
- package/template-nuxt-website/server/api/get_seo_info.get.ts +1 -1
- package/template-nuxt-website/server/plugins/init.ts +16 -18
- 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/auto-imports.d.ts +718 -1
- 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-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)
|