create-young-proj 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/package.json +1 -1
  3. package/template-nuxt-admin/nuxt.config.ts +4 -2
  4. package/template-nuxt-admin/server/plugins/env.ts +10 -4
  5. package/template-nuxt-website/README.md +12 -0
  6. package/template-nuxt-website/boot.mjs +10 -1
  7. package/template-nuxt-website/composables/config.ts +10 -4
  8. package/template-nuxt-website/composables/utils.ts +0 -4
  9. package/template-nuxt-website/nuxt.config.ts +19 -2
  10. package/template-nuxt-website/package.json +4 -5
  11. package/template-nuxt-website/server/api/get_footer_info.get.ts +5 -5
  12. package/template-nuxt-website/server/api/get_gray_status.get.ts +3 -2
  13. package/template-nuxt-website/server/api/get_head_nav.get.ts +3 -3
  14. package/template-nuxt-website/server/api/get_home_banner.get.ts +4 -4
  15. package/template-nuxt-website/server/api/get_seo_info.get.ts +1 -1
  16. package/template-nuxt-website/server/plugins/init.ts +16 -18
  17. package/template-nuxt-website/server/routes/get/env.ts +13 -0
  18. package/template-nuxt-website/yarn.lock +1173 -1599
  19. package/template-uni-app/.vscode/vue-html.code-snippets +2 -7
  20. package/template-uni-app/README.md +2 -0
  21. package/template-uni-app/auto-imports.d.ts +718 -1
  22. package/template-uni-app/eslint.config.js +3 -1
  23. package/template-uni-app/package.json +11 -9
  24. package/template-uni-app/pnpm-lock.yaml +531 -866
  25. package/template-uni-app/src/manifest.json +1 -1
  26. package/template-uni-app/src/pages/index.vue +12 -9
  27. package/template-uni-app/src/pages/my.vue +6 -9
  28. package/template-uni-app/src/pages.json +1 -1
  29. package/template-uni-app/uni-pages.d.ts +24 -0
  30. package/template-uni-app/vite.config.ts +6 -3
  31. package/template-uni-app/.eslintignore +0 -1
  32. package/template-uni-app/.eslintrc +0 -16
@@ -667,13 +667,8 @@
667
667
  },
668
668
  "route": {
669
669
  "body": [
670
- "<route lang=\"json\">",
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)