jmash-core 0.0.1
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/README.md +52 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.mjs +275 -0
- package/dist/style.css +1 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# pnpm publish --no-git-checks
|
|
2
|
+
npm config set registry https://registry.npmjs.org/
|
|
3
|
+
|
|
4
|
+
# pnpm install
|
|
5
|
+
npm config set registry https://registry.npmmirror.com/
|
|
6
|
+
|
|
7
|
+
# jmash-core
|
|
8
|
+
|
|
9
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
10
|
+
|
|
11
|
+
## Recommended IDE Setup
|
|
12
|
+
|
|
13
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
14
|
+
|
|
15
|
+
## Type Support for `.vue` Imports in TS
|
|
16
|
+
|
|
17
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
18
|
+
|
|
19
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
20
|
+
|
|
21
|
+
1. Disable the built-in TypeScript Extension
|
|
22
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
23
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
24
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
25
|
+
|
|
26
|
+
## Customize configuration
|
|
27
|
+
|
|
28
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
29
|
+
|
|
30
|
+
## Project Setup
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
pnpm install
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Compile and Hot-Reload for Development
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
pnpm dev
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Type-Check, Compile and Minify for Production
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
pnpm build
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
pnpm lint
|
|
52
|
+
```
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { ref as v, computed as z, openBlock as a, createElementBlock as l, createElementVNode as t, renderSlot as _, defineComponent as m, Fragment as p, createVNode as r, withCtx as n, createTextVNode as e } from "vue";
|
|
2
|
+
import { defineStore as f } from "pinia";
|
|
3
|
+
const H1 = f("counter", () => {
|
|
4
|
+
const o = v(0), s = z(() => o.value * 2);
|
|
5
|
+
function h() {
|
|
6
|
+
o.value++;
|
|
7
|
+
}
|
|
8
|
+
return { count: o, doubleCount: s, increment: h };
|
|
9
|
+
}), c = (o, s) => {
|
|
10
|
+
const h = o.__vccOpts || o;
|
|
11
|
+
for (const [u, d] of s)
|
|
12
|
+
h[u] = d;
|
|
13
|
+
return h;
|
|
14
|
+
}, g = {}, w = { class: "item" }, M = { class: "details" };
|
|
15
|
+
function $(o, s) {
|
|
16
|
+
return a(), l("div", w, [
|
|
17
|
+
t("i", null, [
|
|
18
|
+
_(o.$slots, "icon", {}, void 0, !0)
|
|
19
|
+
]),
|
|
20
|
+
t("div", M, [
|
|
21
|
+
t("h3", null, [
|
|
22
|
+
_(o.$slots, "heading", {}, void 0, !0)
|
|
23
|
+
]),
|
|
24
|
+
_(o.$slots, "default", {}, void 0, !0)
|
|
25
|
+
])
|
|
26
|
+
]);
|
|
27
|
+
}
|
|
28
|
+
const i = /* @__PURE__ */ c(g, [["render", $], ["__scopeId", "data-v-fd0742eb"]]), V = {}, b = {
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: "20",
|
|
31
|
+
height: "17",
|
|
32
|
+
fill: "currentColor"
|
|
33
|
+
}, H = /* @__PURE__ */ t("path", { d: "M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z" }, null, -1), k = [
|
|
34
|
+
H
|
|
35
|
+
];
|
|
36
|
+
function C(o, s) {
|
|
37
|
+
return a(), l("svg", b, k);
|
|
38
|
+
}
|
|
39
|
+
const y = /* @__PURE__ */ c(V, [["render", C]]), x = {}, j = {
|
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
42
|
+
"aria-hidden": "true",
|
|
43
|
+
role: "img",
|
|
44
|
+
class: "iconify iconify--mdi",
|
|
45
|
+
width: "24",
|
|
46
|
+
height: "24",
|
|
47
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
48
|
+
viewBox: "0 0 24 24"
|
|
49
|
+
}, L = /* @__PURE__ */ t("path", {
|
|
50
|
+
d: "M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z",
|
|
51
|
+
fill: "currentColor"
|
|
52
|
+
}, null, -1), A = [
|
|
53
|
+
L
|
|
54
|
+
];
|
|
55
|
+
function I(o, s) {
|
|
56
|
+
return a(), l("svg", j, A);
|
|
57
|
+
}
|
|
58
|
+
const T = /* @__PURE__ */ c(x, [["render", I]]), E = {}, S = {
|
|
59
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
60
|
+
width: "18",
|
|
61
|
+
height: "20",
|
|
62
|
+
fill: "currentColor"
|
|
63
|
+
}, D = /* @__PURE__ */ t("path", { d: "M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z" }, null, -1), B = [
|
|
64
|
+
D
|
|
65
|
+
];
|
|
66
|
+
function N(o, s) {
|
|
67
|
+
return a(), l("svg", S, B);
|
|
68
|
+
}
|
|
69
|
+
const R = /* @__PURE__ */ c(E, [["render", N]]), Y = {}, q = {
|
|
70
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
71
|
+
width: "20",
|
|
72
|
+
height: "20",
|
|
73
|
+
fill: "currentColor"
|
|
74
|
+
}, G = /* @__PURE__ */ t("path", { d: "M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z" }, null, -1), O = [
|
|
75
|
+
G
|
|
76
|
+
];
|
|
77
|
+
function W(o, s) {
|
|
78
|
+
return a(), l("svg", q, O);
|
|
79
|
+
}
|
|
80
|
+
const F = /* @__PURE__ */ c(Y, [["render", W]]), P = {}, U = {
|
|
81
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
82
|
+
width: "20",
|
|
83
|
+
height: "20",
|
|
84
|
+
fill: "currentColor"
|
|
85
|
+
}, J = /* @__PURE__ */ t("path", { d: "M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z" }, null, -1), K = [
|
|
86
|
+
J
|
|
87
|
+
];
|
|
88
|
+
function Q(o, s) {
|
|
89
|
+
return a(), l("svg", U, K);
|
|
90
|
+
}
|
|
91
|
+
const X = /* @__PURE__ */ c(P, [["render", Q]]), Z = /* @__PURE__ */ t("a", {
|
|
92
|
+
href: "https://vuejs.org/",
|
|
93
|
+
target: "_blank",
|
|
94
|
+
rel: "noopener"
|
|
95
|
+
}, "official documentation", -1), e1 = /* @__PURE__ */ t("a", {
|
|
96
|
+
href: "https://vitejs.dev/guide/features.html",
|
|
97
|
+
target: "_blank",
|
|
98
|
+
rel: "noopener"
|
|
99
|
+
}, "Vite", -1), t1 = /* @__PURE__ */ t("a", {
|
|
100
|
+
href: "https://code.visualstudio.com/",
|
|
101
|
+
target: "_blank",
|
|
102
|
+
rel: "noopener"
|
|
103
|
+
}, "VSCode", -1), o1 = /* @__PURE__ */ t("a", {
|
|
104
|
+
href: "https://github.com/johnsoncodehk/volar",
|
|
105
|
+
target: "_blank",
|
|
106
|
+
rel: "noopener"
|
|
107
|
+
}, "Volar", -1), n1 = /* @__PURE__ */ t("a", {
|
|
108
|
+
href: "https://www.cypress.io/",
|
|
109
|
+
target: "_blank",
|
|
110
|
+
rel: "noopener"
|
|
111
|
+
}, "Cypress", -1), s1 = /* @__PURE__ */ t("a", {
|
|
112
|
+
href: "https://on.cypress.io/component",
|
|
113
|
+
target: "_blank",
|
|
114
|
+
rel: "noopener"
|
|
115
|
+
}, "Cypress Component Testing", -1), r1 = /* @__PURE__ */ t("br", null, null, -1), a1 = /* @__PURE__ */ t("code", null, "README.md", -1), l1 = /* @__PURE__ */ t("a", {
|
|
116
|
+
href: "https://pinia.vuejs.org/",
|
|
117
|
+
target: "_blank",
|
|
118
|
+
rel: "noopener"
|
|
119
|
+
}, "Pinia", -1), c1 = /* @__PURE__ */ t("a", {
|
|
120
|
+
href: "https://router.vuejs.org/",
|
|
121
|
+
target: "_blank",
|
|
122
|
+
rel: "noopener"
|
|
123
|
+
}, "Vue Router", -1), h1 = /* @__PURE__ */ t("a", {
|
|
124
|
+
href: "https://test-utils.vuejs.org/",
|
|
125
|
+
target: "_blank",
|
|
126
|
+
rel: "noopener"
|
|
127
|
+
}, "Vue Test Utils", -1), i1 = /* @__PURE__ */ t("a", {
|
|
128
|
+
href: "https://github.com/vuejs/devtools",
|
|
129
|
+
target: "_blank",
|
|
130
|
+
rel: "noopener"
|
|
131
|
+
}, "Vue Dev Tools", -1), _1 = /* @__PURE__ */ t("a", {
|
|
132
|
+
href: "https://github.com/vuejs/awesome-vue",
|
|
133
|
+
target: "_blank",
|
|
134
|
+
rel: "noopener"
|
|
135
|
+
}, "Awesome Vue", -1), m1 = /* @__PURE__ */ t("a", {
|
|
136
|
+
href: "https://chat.vuejs.org",
|
|
137
|
+
target: "_blank",
|
|
138
|
+
rel: "noopener"
|
|
139
|
+
}, "Vue Land", -1), u1 = /* @__PURE__ */ t("a", {
|
|
140
|
+
href: "https://stackoverflow.com/questions/tagged/vue.js",
|
|
141
|
+
target: "_blank",
|
|
142
|
+
rel: "noopener"
|
|
143
|
+
}, "StackOverflow", -1), d1 = /* @__PURE__ */ t("a", {
|
|
144
|
+
href: "https://news.vuejs.org",
|
|
145
|
+
target: "_blank",
|
|
146
|
+
rel: "noopener"
|
|
147
|
+
}, "our mailing list", -1), v1 = /* @__PURE__ */ t("a", {
|
|
148
|
+
href: "https://twitter.com/vuejs",
|
|
149
|
+
target: "_blank",
|
|
150
|
+
rel: "noopener"
|
|
151
|
+
}, "@vuejs", -1), z1 = /* @__PURE__ */ t("a", {
|
|
152
|
+
href: "https://vuejs.org/sponsor/",
|
|
153
|
+
target: "_blank",
|
|
154
|
+
rel: "noopener"
|
|
155
|
+
}, "becoming a sponsor", -1), p1 = /* @__PURE__ */ m({
|
|
156
|
+
__name: "TheWelcome",
|
|
157
|
+
setup(o) {
|
|
158
|
+
return (s, h) => (a(), l(p, null, [
|
|
159
|
+
r(i, null, {
|
|
160
|
+
icon: n(() => [
|
|
161
|
+
r(y)
|
|
162
|
+
]),
|
|
163
|
+
heading: n(() => [
|
|
164
|
+
e("Documentation")
|
|
165
|
+
]),
|
|
166
|
+
default: n(() => [
|
|
167
|
+
e(" Vue’s "),
|
|
168
|
+
Z,
|
|
169
|
+
e(" provides you with all information you need to get started. ")
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}),
|
|
173
|
+
r(i, null, {
|
|
174
|
+
icon: n(() => [
|
|
175
|
+
r(T)
|
|
176
|
+
]),
|
|
177
|
+
heading: n(() => [
|
|
178
|
+
e("Tooling")
|
|
179
|
+
]),
|
|
180
|
+
default: n(() => [
|
|
181
|
+
e(" This project is served and bundled with "),
|
|
182
|
+
e1,
|
|
183
|
+
e(". The recommended IDE setup is "),
|
|
184
|
+
t1,
|
|
185
|
+
e(" + "),
|
|
186
|
+
o1,
|
|
187
|
+
e(". If you need to test your components and web pages, check out "),
|
|
188
|
+
n1,
|
|
189
|
+
e(" and "),
|
|
190
|
+
s1,
|
|
191
|
+
e(". "),
|
|
192
|
+
r1,
|
|
193
|
+
e(" More instructions are available in "),
|
|
194
|
+
a1,
|
|
195
|
+
e(". ")
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}),
|
|
199
|
+
r(i, null, {
|
|
200
|
+
icon: n(() => [
|
|
201
|
+
r(R)
|
|
202
|
+
]),
|
|
203
|
+
heading: n(() => [
|
|
204
|
+
e("Ecosystem")
|
|
205
|
+
]),
|
|
206
|
+
default: n(() => [
|
|
207
|
+
e(" Get official tools and libraries for your project: "),
|
|
208
|
+
l1,
|
|
209
|
+
e(", "),
|
|
210
|
+
c1,
|
|
211
|
+
e(", "),
|
|
212
|
+
h1,
|
|
213
|
+
e(", and "),
|
|
214
|
+
i1,
|
|
215
|
+
e(". If you need more resources, we suggest paying "),
|
|
216
|
+
_1,
|
|
217
|
+
e(" a visit. ")
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
}),
|
|
221
|
+
r(i, null, {
|
|
222
|
+
icon: n(() => [
|
|
223
|
+
r(F)
|
|
224
|
+
]),
|
|
225
|
+
heading: n(() => [
|
|
226
|
+
e("Community")
|
|
227
|
+
]),
|
|
228
|
+
default: n(() => [
|
|
229
|
+
e(" Got stuck? Ask your question on "),
|
|
230
|
+
m1,
|
|
231
|
+
e(", our official Discord server, or "),
|
|
232
|
+
u1,
|
|
233
|
+
e(". You should also subscribe to "),
|
|
234
|
+
d1,
|
|
235
|
+
e(" and follow the official "),
|
|
236
|
+
v1,
|
|
237
|
+
e(" twitter account for latest news in the Vue world. ")
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
}),
|
|
241
|
+
r(i, null, {
|
|
242
|
+
icon: n(() => [
|
|
243
|
+
r(X)
|
|
244
|
+
]),
|
|
245
|
+
heading: n(() => [
|
|
246
|
+
e("Support Vue")
|
|
247
|
+
]),
|
|
248
|
+
default: n(() => [
|
|
249
|
+
e(" As an independent project, Vue relies on community backing for its sustainability. You can help us by "),
|
|
250
|
+
z1,
|
|
251
|
+
e(". ")
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
})
|
|
255
|
+
], 64));
|
|
256
|
+
}
|
|
257
|
+
}), k1 = /* @__PURE__ */ m({
|
|
258
|
+
__name: "HomeView",
|
|
259
|
+
setup(o) {
|
|
260
|
+
return (s, h) => (a(), l("main", null, [
|
|
261
|
+
r(p1)
|
|
262
|
+
]));
|
|
263
|
+
}
|
|
264
|
+
}), f1 = {}, g1 = { class: "about" }, w1 = /* @__PURE__ */ t("h1", null, "This is an about page", -1), M1 = [
|
|
265
|
+
w1
|
|
266
|
+
];
|
|
267
|
+
function $1(o, s) {
|
|
268
|
+
return a(), l("div", g1, M1);
|
|
269
|
+
}
|
|
270
|
+
const C1 = /* @__PURE__ */ c(f1, [["render", $1]]);
|
|
271
|
+
export {
|
|
272
|
+
C1 as AboutView,
|
|
273
|
+
k1 as HomeView,
|
|
274
|
+
H1 as useCounterStore
|
|
275
|
+
};
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.item[data-v-fd0742eb]{margin-top:2rem;display:flex;position:relative}.details[data-v-fd0742eb]{flex:1;margin-left:1rem}i[data-v-fd0742eb]{display:flex;place-items:center;place-content:center;width:32px;height:32px;color:var(--color-text)}h3[data-v-fd0742eb]{font-size:1.2rem;font-weight:500;margin-bottom:.4rem;color:var(--color-heading)}@media (min-width: 1024px){.item[data-v-fd0742eb]{margin-top:0;padding:.4rem 0 1rem calc(var(--section-gap) / 2)}i[data-v-fd0742eb]{top:calc(50% - 25px);left:-26px;position:absolute;border:1px solid var(--color-border);background:var(--color-background);border-radius:8px;width:50px;height:50px}.item[data-v-fd0742eb]:before{content:" ";border-left:1px solid var(--color-border);position:absolute;left:0;bottom:calc(50% + 25px);height:calc(50% - 25px)}.item[data-v-fd0742eb]:after{content:" ";border-left:1px solid var(--color-border);position:absolute;left:0;top:calc(50% + 25px);height:calc(50% - 25px)}.item[data-v-fd0742eb]:first-of-type:before{display:none}.item[data-v-fd0742eb]:last-of-type:after{display:none}}@media (min-width: 1024px){.about{min-height:100vh;display:flex;align-items:center}}
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jmash-core",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
11
|
+
"@tsconfig/node20": "^20.1.2",
|
|
12
|
+
"@types/node": "^20.11.10",
|
|
13
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
14
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
15
|
+
"@vue/eslint-config-typescript": "^12.0.0",
|
|
16
|
+
"@vue/tsconfig": "^0.5.1",
|
|
17
|
+
"eslint": "^8.49.0",
|
|
18
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
19
|
+
"npm-run-all2": "^6.1.1",
|
|
20
|
+
"pinia": "^2.1.7",
|
|
21
|
+
"prettier": "^3.0.3",
|
|
22
|
+
"typescript": "~5.3.0",
|
|
23
|
+
"vite": "^5.0.11",
|
|
24
|
+
"vue": "^3.4.21",
|
|
25
|
+
"vue-router": "^4.3.0",
|
|
26
|
+
"vue-tsc": "^1.8.27"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"pinia": "^2.1.7",
|
|
30
|
+
"vue": "^3.4.21",
|
|
31
|
+
"vue-router": "^4.3.0"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "vite",
|
|
35
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
36
|
+
"preview": "vite preview",
|
|
37
|
+
"build-only": "vite build",
|
|
38
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
39
|
+
"type-check": "vue-tsc --build --force",
|
|
40
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
41
|
+
"format": "prettier --write src/"
|
|
42
|
+
}
|
|
43
|
+
}
|