create-young-proj 0.13.0 → 1.1.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. package/.editorconfig +14 -0
  2. package/.vscode/settings.json +39 -0
  3. package/CHANGELOG.md +256 -0
  4. package/README.md +38 -25
  5. package/build.config.ts +22 -0
  6. package/eslint.config.js +35 -0
  7. package/package.json +10 -15
  8. package/src/index.ts +366 -0
  9. package/template-admin-server/_nvmrc +1 -0
  10. package/template-nuxt-admin/.vscode/settings.json +20 -6
  11. package/template-nuxt-admin/Dockerfile +3 -3
  12. package/template-nuxt-admin/README.md +23 -16
  13. package/template-nuxt-admin/_nvmrc +1 -0
  14. package/template-nuxt-admin/app.vue +10 -2
  15. package/template-nuxt-admin/boot.mjs +7 -7
  16. package/template-nuxt-admin/components/TopSearch.vue +1 -2
  17. package/template-nuxt-admin/components/YoungChangePassword.vue +2 -5
  18. package/template-nuxt-admin/components/YoungCodeInput.vue +1 -2
  19. package/template-nuxt-admin/components/YoungEditor.vue +81 -0
  20. package/template-nuxt-admin/components/ZenMode.vue +21 -0
  21. package/template-nuxt-admin/components/layout/NavBar.vue +3 -2
  22. package/template-nuxt-admin/composables/api.ts +7 -15
  23. package/template-nuxt-admin/composables/icon.ts +1 -3
  24. package/template-nuxt-admin/composables/nav.ts +11 -1
  25. package/template-nuxt-admin/composables/user.ts +3 -1
  26. package/template-nuxt-admin/env.d.ts +8 -8
  27. package/template-nuxt-admin/eslint.config.js +33 -0
  28. package/template-nuxt-admin/layouts/default.vue +45 -7
  29. package/template-nuxt-admin/middleware/auth.global.ts +2 -5
  30. package/template-nuxt-admin/nuxt.config.ts +21 -21
  31. package/template-nuxt-admin/package.json +8 -9
  32. package/template-nuxt-admin/pages/system/api.vue +1 -3
  33. package/template-nuxt-admin/pages/system/hooks/useRole.ts +1 -8
  34. package/template-nuxt-admin/pages/system/menuList.vue +4 -6
  35. package/template-nuxt-admin/pages/system/role.vue +1 -2
  36. package/template-nuxt-admin/pages/system/user.vue +1 -3
  37. package/template-nuxt-admin/public/index.umd.js +74 -0
  38. package/template-nuxt-admin/public/index.umd.js.map +1 -0
  39. package/template-nuxt-admin/server/plugins/env.ts +3 -2
  40. package/template-nuxt-admin/server/utils/index.ts +1 -1
  41. package/template-nuxt-admin/typings/global.d.ts +6 -6
  42. package/template-nuxt-admin/typings/system.d.ts +55 -54
  43. package/template-nuxt-admin/typings/user.d.ts +12 -12
  44. package/template-nuxt-admin/utils/tool.ts +4 -8
  45. package/template-nuxt-admin/yarn.lock +1913 -2002
  46. package/template-nuxt-website/.nvmrc +1 -0
  47. package/template-nuxt-website/.vscode/extensions.json +12 -0
  48. package/template-nuxt-website/.vscode/settings.json +39 -0
  49. package/template-nuxt-website/Dockerfile +41 -0
  50. package/template-nuxt-website/README.md +117 -0
  51. package/template-nuxt-website/_gitignore +26 -0
  52. package/template-nuxt-website/_npmrc +2 -0
  53. package/template-nuxt-website/_nvmrc +1 -0
  54. package/template-nuxt-website/app.vue +66 -0
  55. package/template-nuxt-website/assets/tabbar/event.png +0 -0
  56. package/template-nuxt-website/assets/tabbar/event_active.png +0 -0
  57. package/template-nuxt-website/assets/tabbar/game.png +0 -0
  58. package/template-nuxt-website/assets/tabbar/game_active.png +0 -0
  59. package/template-nuxt-website/assets/tabbar/shop.png +0 -0
  60. package/template-nuxt-website/assets/tabbar/shop_active.png +0 -0
  61. package/template-nuxt-website/assets/tabbar/user.png +0 -0
  62. package/template-nuxt-website/assets/tabbar/user_active.png +0 -0
  63. package/template-nuxt-website/boot.mjs +16 -0
  64. package/template-nuxt-website/components/AboutNav.vue +27 -0
  65. package/template-nuxt-website/components/BreadNav.vue +35 -0
  66. package/template-nuxt-website/components/Follow.vue +48 -0
  67. package/template-nuxt-website/components/FriendLink.vue +36 -0
  68. package/template-nuxt-website/components/mobile/NavBar.vue +50 -0
  69. package/template-nuxt-website/components/top/Extra.vue +50 -0
  70. package/template-nuxt-website/components/top/Nav.vue +87 -0
  71. package/template-nuxt-website/components/young/Banner.vue +100 -0
  72. package/template-nuxt-website/components/young/Footer.vue +44 -0
  73. package/template-nuxt-website/components/young/Header.vue +25 -0
  74. package/template-nuxt-website/components/young/Tabbar.vue +76 -0
  75. package/template-nuxt-website/composables/ad.ts +20 -0
  76. package/template-nuxt-website/composables/config.ts +11 -0
  77. package/template-nuxt-website/composables/nav.ts +30 -0
  78. package/template-nuxt-website/composables/share.ts +22 -0
  79. package/template-nuxt-website/composables/utils.ts +84 -0
  80. package/template-nuxt-website/config/.devrc +11 -0
  81. package/template-nuxt-website/config/.onlinerc +13 -0
  82. package/template-nuxt-website/config/.testrc +11 -0
  83. package/template-nuxt-website/env.d.ts +55 -0
  84. package/template-nuxt-website/error.vue +69 -0
  85. package/template-nuxt-website/eslint.config.js +34 -0
  86. package/template-nuxt-website/layouts/default.vue +80 -0
  87. package/template-nuxt-website/layouts/home.vue +75 -0
  88. package/template-nuxt-website/layouts/tabbar.vue +78 -0
  89. package/template-nuxt-website/nuxt.config.ts +98 -0
  90. package/template-nuxt-website/package.json +41 -0
  91. package/template-nuxt-website/pages/index.html.vue +16 -0
  92. package/template-nuxt-website/pages/index.vue +29 -0
  93. package/template-nuxt-website/pages/match.html.vue +23 -0
  94. package/template-nuxt-website/pages/news/[id].html.vue +57 -0
  95. package/template-nuxt-website/pages/news.html.vue +26 -0
  96. package/template-nuxt-website/pages/shop.html.vue +26 -0
  97. package/template-nuxt-website/public/favicon.ico +0 -0
  98. package/template-nuxt-website/public/robots.txt +2 -0
  99. package/template-nuxt-website/public/svg/image_placeholder.svg +15 -0
  100. package/template-nuxt-website/server/api/get_footer_info.get.ts +52 -0
  101. package/template-nuxt-website/server/api/get_gray_status.get.ts +38 -0
  102. package/template-nuxt-website/server/api/get_head_nav.get.ts +38 -0
  103. package/template-nuxt-website/server/api/get_home_banner.get.ts +28 -0
  104. package/template-nuxt-website/server/api/get_seo_info.get.ts +32 -0
  105. package/template-nuxt-website/server/middleware/platform.ts +11 -0
  106. package/template-nuxt-website/server/plugins/init.ts +147 -0
  107. package/template-nuxt-website/server/tsconfig.json +3 -0
  108. package/template-nuxt-website/server/utils/index.ts +12 -0
  109. package/template-nuxt-website/server/utils/proxy.ts +59 -0
  110. package/template-nuxt-website/tsconfig.json +4 -0
  111. package/template-nuxt-website/typings/banner.d.ts +30 -0
  112. package/template-nuxt-website/typings/nav.d.ts +34 -0
  113. package/template-nuxt-website/typings/system.d.ts +22 -0
  114. package/template-nuxt-website/uno.config.ts +40 -0
  115. package/template-nuxt-website/utils/tool.ts +171 -0
  116. package/template-nuxt-website/yarn.lock +8018 -0
  117. package/template-uni-app/.vscode/settings.json +20 -6
  118. package/template-uni-app/README.md +5 -0
  119. package/template-uni-app/_nvmrc +1 -0
  120. package/template-uni-app/eslint.config.js +35 -0
  121. package/template-uni-app/package.json +22 -21
  122. package/template-uni-app/pnpm-lock.yaml +2557 -1543
  123. package/template-uni-app/src/env.d.ts +6 -6
  124. package/template-uni-app/src/typings/global.d.ts +1 -1
  125. package/template-uni-app/src/utils/modal.ts +2 -2
  126. package/template-uni-app/tsconfig.json +3 -3
  127. package/tsconfig.json +11 -0
  128. package/dist/index.mjs +0 -51
  129. package/template-nuxt-admin/.eslintrc +0 -14
  130. package/template-uni-app/.vscode/.server-controller-port.log +0 -5
  131. package/template-uni-app/dist/dev/mp-weixin/apis/index.js +0 -43
  132. package/template-uni-app/dist/dev/mp-weixin/apis/requests/get.js +0 -10
  133. package/template-uni-app/dist/dev/mp-weixin/apis/requests/index.js +0 -1
  134. package/template-uni-app/dist/dev/mp-weixin/apis/requests/post.js +0 -15
  135. package/template-uni-app/dist/dev/mp-weixin/app.js +0 -92
  136. package/template-uni-app/dist/dev/mp-weixin/app.json +0 -51
  137. package/template-uni-app/dist/dev/mp-weixin/app.wxss +0 -2378
  138. package/template-uni-app/dist/dev/mp-weixin/common/assets.js +0 -13
  139. package/template-uni-app/dist/dev/mp-weixin/common/vendor.js +0 -9166
  140. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.js +0 -22
  141. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.json +0 -4
  142. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.wxml +0 -1
  143. package/template-uni-app/dist/dev/mp-weixin/components/young-loading/young-loading.wxss +0 -0
  144. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.js +0 -22
  145. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.json +0 -4
  146. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.wxml +0 -1
  147. package/template-uni-app/dist/dev/mp-weixin/components/young-loading-mini/young-loading-mini.wxss +0 -0
  148. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.js +0 -81
  149. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.json +0 -4
  150. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.wxml +0 -1
  151. package/template-uni-app/dist/dev/mp-weixin/components/young-navbar/young-navbar.wxss +0 -108
  152. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.js +0 -55
  153. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.json +0 -4
  154. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.wxml +0 -1
  155. package/template-uni-app/dist/dev/mp-weixin/components/young-tabbar/young-tabbar.wxss +0 -88
  156. package/template-uni-app/dist/dev/mp-weixin/config/enum.js +0 -21
  157. package/template-uni-app/dist/dev/mp-weixin/config/index.js +0 -1
  158. package/template-uni-app/dist/dev/mp-weixin/config/map.js +0 -1
  159. package/template-uni-app/dist/dev/mp-weixin/layouts/default.js +0 -29
  160. package/template-uni-app/dist/dev/mp-weixin/layouts/default.json +0 -6
  161. package/template-uni-app/dist/dev/mp-weixin/layouts/default.wxml +0 -1
  162. package/template-uni-app/dist/dev/mp-weixin/layouts/default.wxss +0 -0
  163. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.js +0 -56
  164. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.json +0 -9
  165. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.wxml +0 -1
  166. package/template-uni-app/dist/dev/mp-weixin/layouts/tabbar.wxss +0 -0
  167. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.js +0 -98
  168. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.json +0 -4
  169. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.wxml +0 -1
  170. package/template-uni-app/dist/dev/mp-weixin/node-modules/@dcloudio/uni-ui/lib/uni-card/uni-card.wxss +0 -125
  171. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.js +0 -37
  172. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.json +0 -5
  173. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.wxml +0 -1
  174. package/template-uni-app/dist/dev/mp-weixin/pages/demo/index.wxss +0 -0
  175. package/template-uni-app/dist/dev/mp-weixin/pages/index.js +0 -50
  176. package/template-uni-app/dist/dev/mp-weixin/pages/index.json +0 -5
  177. package/template-uni-app/dist/dev/mp-weixin/pages/index.wxml +0 -1
  178. package/template-uni-app/dist/dev/mp-weixin/pages/index.wxss +0 -0
  179. package/template-uni-app/dist/dev/mp-weixin/pages/my.js +0 -22
  180. package/template-uni-app/dist/dev/mp-weixin/pages/my.json +0 -3
  181. package/template-uni-app/dist/dev/mp-weixin/pages/my.wxml +0 -1
  182. package/template-uni-app/dist/dev/mp-weixin/pages/my.wxss +0 -0
  183. package/template-uni-app/dist/dev/mp-weixin/project.config.json +0 -55
  184. package/template-uni-app/dist/dev/mp-weixin/project.private.config.json +0 -6
  185. package/template-uni-app/dist/dev/mp-weixin/static/back.png +0 -0
  186. package/template-uni-app/dist/dev/mp-weixin/static/h.png +0 -0
  187. package/template-uni-app/dist/dev/mp-weixin/static/home.png +0 -0
  188. package/template-uni-app/dist/dev/mp-weixin/static/home_active.png +0 -0
  189. package/template-uni-app/dist/dev/mp-weixin/static/more.png +0 -0
  190. package/template-uni-app/dist/dev/mp-weixin/static/my.png +0 -0
  191. package/template-uni-app/dist/dev/mp-weixin/static/my_active.png +0 -0
  192. package/template-uni-app/dist/dev/mp-weixin/static/network.png +0 -0
  193. package/template-uni-app/dist/dev/mp-weixin/store/index.js +0 -8
  194. package/template-uni-app/dist/dev/mp-weixin/store/local/index.js +0 -13
  195. package/template-uni-app/dist/dev/mp-weixin/store/system.js +0 -14
  196. package/template-uni-app/dist/dev/mp-weixin/utils/modal.js +0 -78
  197. package/template-uni-app/dist/dev/mp-weixin/utils/route.js +0 -83
  198. package/template-uni-app/dist/dev/mp-weixin/utils/system.js +0 -27
@@ -1,13 +0,0 @@
1
- "use strict";
2
- const _imports_0 = "/static/h.png";
3
- const _imports_1 = "/static/back.png";
4
- const home = "/static/home.png";
5
- const home_active = "/static/home_active.png";
6
- const my = "/static/my.png";
7
- const my_active = "/static/my_active.png";
8
- exports._imports_0 = _imports_0;
9
- exports._imports_1 = _imports_1;
10
- exports.home = home;
11
- exports.home_active = home_active;
12
- exports.my = my;
13
- exports.my_active = my_active;