ljr-cli 1.0.2 → 1.0.3
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/{lib → bin}/demo1.js +1 -1
- package/{lib → bin}/demo2.js +1 -1
- package/{lib → bin}/index.js +2 -0
- package/{lib → bin}/templates/vue2.7.16/package.json +41 -41
- package/{lib → bin}/templates/vue2.7.16/pnpm-lock.yaml +5 -5
- package/{lib → bin}/templates/vue2.7.16/src/views/Pitfalls//345/206/205/345/255/230/346/272/242/345/207/272/index.vue +2 -2
- package/{lib → bin}/templates/vue2.7.16/src/views/demo//345/205/250/345/261/200store/346/225/260/346/215/256/345/255/227/345/205/270/index.vue +11 -11
- package/{lib → bin}/templates/vue2.7.16/src/views/demo//345/205/250/345/261/200/346/214/207/344/273/244/index.vue +10 -10
- package/{lib → bin}/templates/vue2.7.16/src/views/demo//350/257/267/346/261/202/347/244/272/344/276/213/index.vue +2 -2
- package/{lib → bin}/templates/vue2.7.16/src/views/login.vue +7 -7
- package/bin/templates/vue2.7.16/src/views/template/base-info2.vue +56 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/template/list/index.vue +3 -3
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/.vscode/settings.json +1 -1
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/README.md +66 -35
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/auto-imports.d.ts +12 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/components.d.ts +8 -0
- package/bin/templates/vue3.5.25-2025.12.4/env.d.ts +2 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/eslint.config.ts +1 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/package.json +3 -1
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/pnpm-lock.yaml +558 -399
- package/bin/templates/vue3.5.25-2025.12.4/src/boot/pinia.ts +31 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/boot/router.ts +2 -2
- package/bin/templates/vue3.5.25-2025.12.4/src/components/layout/header.vue +16 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/components/layout/left-right.vue +28 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/components/layout/menu.vue +12 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/pages/[...404].vue +5 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/pages/index/about.vue +7 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/pages/index/index.vue +70 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/pages/index.vue +13 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/pages/login.vue +76 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/router/index.ts +28 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/stores/account.ts +49 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/stores/dd.ts +35 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/stores/index.ts +3 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/stores/layout.ts +22 -0
- package/bin/templates/vue3.5.25-2025.12.4/src/stores//347/273/204/345/220/210/345/274/217pinia/345/206/231/346/263/225(/344/273/245account/344/270/272/344/276/213).ts +28 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/tsconfig.app.json +1 -1
- package/bin/templates/vue3.5.25-2025.12.4/typed-router.d.ts +119 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/vite.config.ts +3 -1
- package/package.json +8 -7
- package/lib/templates/vue2.7.16/src/views/template/base-info2.vue +0 -56
- package/lib/templates/vue3.5.25-2025.12.4/env.d.ts +0 -1
- package/lib/templates/vue3.5.25-2025.12.4/src/boot/pinia.ts +0 -10
- package/lib/templates/vue3.5.25-2025.12.4/src/router/index.ts +0 -20
- package/lib/templates/vue3.5.25-2025.12.4/src/stores/counter.ts +0 -12
- package/lib/templates/vue3.5.25-2025.12.4/src/views/AboutView.vue +0 -3
- package/lib/templates/vue3.5.25-2025.12.4/src/views/HomeView.vue +0 -14
- package/{lib → bin}/templates/flutter//346/210/221/346/230/257flutter.txt +0 -0
- package/{lib → bin}/templates/java//346/210/221/346/230/257java.txt +0 -0
- package/{lib → bin}/templates/monorepo//346/210/221/346/230/257monorepo.txt +0 -0
- package/{lib → bin}/templates/mysql//346/210/221/346/230/257mysql.txt +0 -0
- package/{lib → bin}/templates/node//346/210/221/346/230/257node.txt +0 -0
- package/{lib → bin}/templates/qiankun//346/210/221/346/230/257qiankun.txt +0 -0
- package/{lib → bin}/templates/react//346/210/221/346/230/257react.txt +0 -0
- package/{lib → bin}/templates/uni-app//346/210/221/346/230/257uni-app.txt +0 -0
- package/{lib → bin}/templates/vue2.7.16/.browserslistrc +0 -0
- package/{lib → bin}/templates/vue2.7.16/.env +0 -0
- package/{lib → bin}/templates/vue2.7.16/.env.development +0 -0
- package/{lib → bin}/templates/vue2.7.16/.env.production +0 -0
- package/{lib → bin}/templates/vue2.7.16/.eslintignore +0 -0
- package/{lib → bin}/templates/vue2.7.16/.eslintrc.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/.prettierrc.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/.vscode/settings.json +0 -0
- package/{lib → bin}/templates/vue2.7.16/README.md +0 -0
- package/{lib → bin}/templates/vue2.7.16/babel.config.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/jsconfig.json +0 -0
- package/{lib → bin}/templates/vue2.7.16/public/favicon.svg +0 -0
- package/{lib → bin}/templates/vue2.7.16/public/index.html +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/App.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/api/interface/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/api/request.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/api/server/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/assets/logo.png +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/components/README.md +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/components/baseInfo/index.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/components/baseInfo/item.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/components/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/components/layout/left-menu-and-top-info.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/components/pagination/index.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/css/coverage-style.css +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/directive/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/directive/input-number.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/directive/permission.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/directive/re-click.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/global-config.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/main.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/prototype/README.md +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/prototype/el-dialog.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/prototype/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/router/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/store/index.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/store/modules/dd.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/store/modules/permissions.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/404.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/Pitfalls//345/206/205/345/255/230/346/272/242/345/207/272//351/200/240/346/210/220vue2/345/206/205/345/255/230/346/272/242/345/207/272/347/232/204/345/257/271/350/261/241.js +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/about.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/demo//345/205/250/345/261/200/345/274/271/347/252/227/ce.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/demo//345/205/250/345/261/200/345/274/271/347/252/227/index.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/home.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/template/base-info.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/template/list/ce.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/src/views/template/list/search.vue +0 -0
- package/{lib → bin}/templates/vue2.7.16/vue.config.js +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/.editorconfig +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/.gitattributes +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/.prettierrc.json +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/.vscode/extensions.json +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/index.html +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/public/favicon.svg +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/App.vue +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/assets/vue.svg +0 -0
- package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/boot/index.ts +2 -2
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/boot/style.ts +0 -0
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/css/coverage-style.css +0 -0
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/directive/index.js +0 -0
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/directive/rememberScrollPosition.ts +0 -0
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/src/main.ts +0 -0
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/tsconfig.json +0 -0
- /package/{lib → bin}/templates/vue3.5.25-2025.12.4/tsconfig.node.json +0 -0
- /package/{lib → bin}/templates/wx-miniapp//346/210/221/346/230/257wx-miniapp.txt" +0 -0
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="padding: 50px">
|
|
3
|
-
<h1>注意:支持跨列,但是不支持显示隐藏</h1>
|
|
4
|
-
<table class="c-tableData c-text-left">
|
|
5
|
-
<thead>
|
|
6
|
-
<tr>
|
|
7
|
-
<th colspan="8">基础信息</th>
|
|
8
|
-
</tr>
|
|
9
|
-
</thead>
|
|
10
|
-
<tbody>
|
|
11
|
-
<tr>
|
|
12
|
-
<td class="c-width-10per ctdLabel">包名称</td>
|
|
13
|
-
<td class="c-width-15per">
|
|
14
|
-
{{ baseInfo.pkgName }}
|
|
15
|
-
</td>
|
|
16
|
-
<td class="c-width-10per ctdLabel">计划包编码</td>
|
|
17
|
-
<td class="c-width-15per">
|
|
18
|
-
{{ baseInfo.pkgCode }}
|
|
19
|
-
</td>
|
|
20
|
-
<td class="c-width-10per ctdLabel">计划名称</td>
|
|
21
|
-
<td class="c-width-15per">
|
|
22
|
-
{{ baseInfo.planName }}
|
|
23
|
-
</td>
|
|
24
|
-
<td class="c-width-10per ctdLabel">计划编码</td>
|
|
25
|
-
<td class="c-width-15per">
|
|
26
|
-
{{ baseInfo.planCode }}
|
|
27
|
-
</td>
|
|
28
|
-
</tr>
|
|
29
|
-
<tr>
|
|
30
|
-
<td class="c-width-10per ctdLabel">跨列</td>
|
|
31
|
-
<td class="c-width-15per" colspan="3">
|
|
32
|
-
{{ baseInfo.pkgName }}
|
|
33
|
-
</td>
|
|
34
|
-
<td class="c-width-10per ctdLabel">计划包编码</td>
|
|
35
|
-
<td class="c-width-15per">
|
|
36
|
-
{{ baseInfo.pkgCode }}
|
|
37
|
-
</td>
|
|
38
|
-
<td class="c-width-10per ctdLabel">计划名称</td>
|
|
39
|
-
<td class="c-width-15per">
|
|
40
|
-
{{ baseInfo.planName }}
|
|
41
|
-
</td>
|
|
42
|
-
</tr>
|
|
43
|
-
</tbody>
|
|
44
|
-
</table>
|
|
45
|
-
</div>
|
|
46
|
-
</template>
|
|
47
|
-
|
|
48
|
-
<script>
|
|
49
|
-
export default {
|
|
50
|
-
data() {
|
|
51
|
-
return {
|
|
52
|
-
baseInfo: {},
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
}
|
|
56
|
-
</script>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createRouter, createWebHashHistory } from "vue-router"
|
|
2
|
-
import HomeView from "../views/HomeView.vue"
|
|
3
|
-
|
|
4
|
-
const router = createRouter({
|
|
5
|
-
history: createWebHashHistory(import.meta.env.BASE_URL),
|
|
6
|
-
routes: [
|
|
7
|
-
{
|
|
8
|
-
path: "/",
|
|
9
|
-
name: "home",
|
|
10
|
-
component: HomeView,
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
path: "/about",
|
|
14
|
-
name: "about",
|
|
15
|
-
component: () => import("../views/AboutView.vue"),
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
export default router
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ref, computed } from "vue"
|
|
2
|
-
import { defineStore } from "pinia"
|
|
3
|
-
|
|
4
|
-
export const useCounterStore = defineStore("counter", () => {
|
|
5
|
-
const count = ref(0)
|
|
6
|
-
const doubleCount = computed(() => count.value * 2)
|
|
7
|
-
function increment() {
|
|
8
|
-
count.value++
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return { count, doubleCount, increment }
|
|
12
|
-
})
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const temp = ref("111")
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<main>
|
|
7
|
-
<div>主页</div>
|
|
8
|
-
<div>{{ temp }}</div>
|
|
9
|
-
<div>
|
|
10
|
-
<el-button type="primary">Primary</el-button>
|
|
11
|
-
<el-input v-model="temp"></el-input>
|
|
12
|
-
</div>
|
|
13
|
-
</main>
|
|
14
|
-
</template>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { App } from "vue"
|
|
2
2
|
import { setupStyle } from "./style"
|
|
3
|
-
import { setupRouter } from "./router"
|
|
4
3
|
import { setupPinia } from "./pinia"
|
|
4
|
+
import { setupRouter } from "./router"
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* 初始化启动时,安装对应实例
|
|
@@ -9,6 +9,6 @@ import { setupPinia } from "./pinia"
|
|
|
9
9
|
*/
|
|
10
10
|
export function setupBoot(app: App<Element>) {
|
|
11
11
|
setupStyle(app)
|
|
12
|
-
setupRouter(app)
|
|
13
12
|
setupPinia(app)
|
|
13
|
+
setupRouter(app)
|
|
14
14
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|