sun-form-v3 0.0.1 → 1.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 +25 -5
- package/dist/favicon.ico +0 -0
- package/dist/style.css +1 -0
- package/dist/sun-form-v3.es.js +31 -0
- package/dist/sun-form-v3.umd.js +1 -0
- package/package.json +19 -9
- package/.history/package_20240516171646.json +0 -21
- package/.history/package_20240516220959.json +0 -21
- package/.history/package_20240516221125.json +0 -22
- package/.history/package_20240516221133.json +0 -22
- package/.history/package_20240516221150.json +0 -22
- package/.history/packages/index_20240516170215.ts +0 -0
- package/.history/packages/index_20240516170240.ts +0 -16
- package/.history/packages/index_20240516170259.ts +0 -16
- package/.history/packages/index_20240516215605.ts +0 -16
- package/.history/packages/sy-button/index_20240516170041.vue +0 -0
- package/.history/packages/sy-button/index_20240516170054.vue +0 -11
- package/.history/packages/sy-button/index_20240516170059.ts +0 -0
- package/.history/packages/sy-button/index_20240516170139.ts +0 -6
- package/.history/packages/sy-button/index_20240516170143.ts +0 -6
- package/.history/packages/sy-button/index_20240516170826.vue +0 -11
- package/.history/packages/sy-button/index_20240516170827.vue +0 -11
- package/.history/packages/sy-button/index_20240516171258.ts +0 -6
- package/.history/packages/sy-button/index_20240516205457.ts +0 -6
- package/.history/packages/sy-button/index_20240516205458.ts +0 -6
- package/.history/packages/sy-button/index_20240516214802.vue +0 -11
- package/.history/src/App_20240516163625.vue +0 -30
- package/.history/src/App_20240516171000.vue +0 -30
- package/.history/src/App_20240516171003.vue +0 -29
- package/.history/src/App_20240516171012.vue +0 -31
- package/.history/src/App_20240516171045.vue +0 -32
- package/.history/src/App_20240516171056.vue +0 -23
- package/.history/src/vite-env.d_20240516163625.ts +0 -1
- package/.history/src/vite-env.d_20240516164812.ts +0 -6
- package/.history/src/vite-env.d_20240516170519.ts +0 -6
- package/.history/tsconfig_20240516163625.json +0 -25
- package/.history/tsconfig_20240516171547.json +0 -26
- package/.history/tsconfig_20240516171627.json +0 -27
- package/.history/tsconfig_20240516171733.json +0 -26
- package/.history/tsconfig_20240516214249.json +0 -29
- package/.history/tsconfig_20240516214506.json +0 -29
- package/.history/tsconfig_20240516214522.json +0 -28
- package/.history/types/vue.d_20240516214359.ts +0 -0
- package/.history/types/vue.d_20240516214406.ts +0 -4
- package/.history/types/vue.d_20240516214702.ts +0 -6
- package/.history/types/vue.d_20240516214737.ts +0 -6
- package/.history/vite.config_20240516163625.ts +0 -7
- package/.history/vite.config_20240516171436.ts +0 -63
- package/.history/vite.config_20240516171745.ts +0 -63
- package/.history/vite.config_20240516171816.ts +0 -63
- package/.history/vite.config_20240516171904.ts +0 -63
- package/.history/vite.config_20240516172136.ts +0 -65
- package/.history/vite.config_20240516172137.ts +0 -65
- package/.history/vite.config_20240516172206.ts +0 -65
- package/.history/vite.config_20240516172233.ts +0 -65
- package/.history/vite.config_20240516172329.ts +0 -65
- package/.history/vite.config_20240516205537.ts +0 -65
- package/.history/vite.config_20240516221534.ts +0 -65
- package/.vscode/extensions.json +0 -3
- package/index.html +0 -13
- package/packages/index.ts +0 -16
- package/packages/sy-button/index.ts +0 -6
- package/packages/sy-button/index.vue +0 -11
- package/public/vite.svg +0 -1
- package/src/App.vue +0 -23
- package/src/assets/vue.svg +0 -1
- package/src/components/HelloWorld.vue +0 -38
- package/src/main.ts +0 -5
- package/src/style.css +0 -79
- package/src/vite-env.d.ts +0 -6
- package/tsconfig.json +0 -28
- package/tsconfig.node.json +0 -11
- package/types/vue.d.ts +0 -6
- package/vite.config.ts +0 -65
package/README.md
CHANGED
|
@@ -1,9 +1,29 @@
|
|
|
1
|
-
#
|
|
1
|
+
# sun-form-v3
|
|
2
2
|
|
|
3
|
-
This template should help get you started developing with Vue 3
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
4
|
|
|
5
|
-
## Recommended Setup
|
|
5
|
+
## Recommended IDE Setup
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## Customize configuration
|
|
10
|
+
|
|
11
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
12
|
+
|
|
13
|
+
## Project Setup
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Compile and Hot-Reload for Development
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npm run dev
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Compile and Minify for Production
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm run build
|
|
29
|
+
```
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
button[data-v-91a0b474]{border:1px solid red}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as s } from "vue";
|
|
2
|
+
const a = (n, e) => {
|
|
3
|
+
const t = n.__vccOpts || n;
|
|
4
|
+
for (const [c, _] of e)
|
|
5
|
+
t[c] = _;
|
|
6
|
+
return t;
|
|
7
|
+
}, r = /* @__PURE__ */ Object.assign({ name: "syButton" }, {
|
|
8
|
+
__name: "index",
|
|
9
|
+
setup(n) {
|
|
10
|
+
return (e, t) => (o(), s("button", null, "你好你好孙岩"));
|
|
11
|
+
}
|
|
12
|
+
}), p = /* @__PURE__ */ a(r, [["__scopeId", "data-v-91a0b474"]]), u = {
|
|
13
|
+
type: "text",
|
|
14
|
+
placeholder: "请输入内容"
|
|
15
|
+
}, i = /* @__PURE__ */ Object.assign({ name: "syInput" }, {
|
|
16
|
+
__name: "index",
|
|
17
|
+
setup(n) {
|
|
18
|
+
return (e, t) => (o(), s("input", u));
|
|
19
|
+
}
|
|
20
|
+
}), l = [p, i], m = function(n, e) {
|
|
21
|
+
l.forEach((t) => {
|
|
22
|
+
n.component(t.name, t);
|
|
23
|
+
});
|
|
24
|
+
}, f = {
|
|
25
|
+
install: m
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
f as default,
|
|
29
|
+
p as syButton,
|
|
30
|
+
i as syInput
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["sun-form-v3"]={},e.Vue))})(this,function(e,t){"use strict";const c=((o,s)=>{const n=o.__vccOpts||o;for(const[a,p]of s)n[a]=p;return n})(Object.assign({name:"syButton"},{__name:"index",setup(o){return(s,n)=>(t.openBlock(),t.createElementBlock("button",null,"你好你好孙岩"))}}),[["__scopeId","data-v-91a0b474"]]),i={type:"text",placeholder:"请输入内容"},u=Object.assign({name:"syInput"},{__name:"index",setup(o){return(s,n)=>(t.openBlock(),t.createElementBlock("input",i))}}),_=[c,u],r={install:function(o,s){_.forEach(n=>{o.component(n.name,n)})}};e.default=r,e.syButton=c,e.syInput=u,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sun-form-v3",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
5
|
-
"main": "./dist/sun-form-v3.umd.cjs",
|
|
4
|
+
"version": "1.0.1",
|
|
6
5
|
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/sun-form-v3.umd.js",
|
|
10
|
+
"module": "./dist/sun-form-v3.es.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
"./style": "./dist/style.css",
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/sun-form-v3.es.js",
|
|
15
|
+
"require": "./dist/sun-form-v3.umd.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
7
18
|
"scripts": {
|
|
8
19
|
"dev": "vite",
|
|
9
|
-
"build": "
|
|
20
|
+
"build": "vite build",
|
|
10
21
|
"preview": "vite preview"
|
|
11
22
|
},
|
|
12
23
|
"dependencies": {
|
|
13
|
-
"
|
|
24
|
+
"element-plus": "^2.7.0",
|
|
25
|
+
"vue": "^3.4.21",
|
|
26
|
+
"vue-router": "^4.3.0"
|
|
14
27
|
},
|
|
15
28
|
"devDependencies": {
|
|
16
|
-
"@types/node": "^20.12.12",
|
|
17
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"vite": "^5.2.0",
|
|
21
|
-
"vue-tsc": "^2.0.6"
|
|
30
|
+
"sass": "^1.77.2",
|
|
31
|
+
"vite": "^5.2.8"
|
|
22
32
|
}
|
|
23
33
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sun-form-v3",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "vite",
|
|
8
|
-
"build": "vue-tsc && vite build",
|
|
9
|
-
"preview": "vite preview"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"vue": "^3.4.21"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@types/node": "^20.12.12",
|
|
16
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
17
|
-
"typescript": "^5.2.2",
|
|
18
|
-
"vite": "^5.2.0",
|
|
19
|
-
"vue-tsc": "^2.0.6"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sun-form-v3",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "vite",
|
|
8
|
-
"build": "vue-tsc && vite build",
|
|
9
|
-
"preview": "vite preview"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"vue": "^3.4.21"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@types/node": "^20.12.12",
|
|
16
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
17
|
-
"typescript": "^5.2.2",
|
|
18
|
-
"vite": "^5.2.0",
|
|
19
|
-
"vue-tsc": "^2.0.6"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sun-form-v3",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"main": "./dist/sun-form-v3.umd.cjs",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "vite",
|
|
9
|
-
"build": "vue-tsc && vite build",
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"vue": "^3.4.21"
|
|
14
|
-
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@types/node": "^20.12.12",
|
|
17
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
18
|
-
"typescript": "^5.2.2",
|
|
19
|
-
"vite": "^5.2.0",
|
|
20
|
-
"vue-tsc": "^2.0.6"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sun-form-v3",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"main": "./dist/sun-form-v3.umd.cjs",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "vite",
|
|
9
|
-
"build": "vue-tsc && vite build",
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"vue": "^3.4.21"
|
|
14
|
-
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@types/node": "^20.12.12",
|
|
17
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
18
|
-
"typescript": "^5.2.2",
|
|
19
|
-
"vite": "^5.2.0",
|
|
20
|
-
"vue-tsc": "^2.0.6"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sun-form-v3",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"main": "./dist/sun-form-v3.umd.cjs",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "vite",
|
|
9
|
-
"build": "vue-tsc && vite build",
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"vue": "^3.4.21"
|
|
14
|
-
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@types/node": "^20.12.12",
|
|
17
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
18
|
-
"typescript": "^5.2.2",
|
|
19
|
-
"vite": "^5.2.0",
|
|
20
|
-
"vue-tsc": "^2.0.6"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
File without changes
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue'
|
|
2
|
-
import Breadcrumb from './sy-button'
|
|
3
|
-
|
|
4
|
-
const components = [
|
|
5
|
-
Breadcrumb
|
|
6
|
-
];
|
|
7
|
-
|
|
8
|
-
const install = (app: App): void => {
|
|
9
|
-
components.forEach(component => app.component(component.__name as string, component))
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
Breadcrumb
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const viteVueNode = { install };
|
|
16
|
-
export default viteVueNode
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue'
|
|
2
|
-
import Breadcrumb from './sy-button'
|
|
3
|
-
|
|
4
|
-
const components = [
|
|
5
|
-
Breadcrumb
|
|
6
|
-
];
|
|
7
|
-
|
|
8
|
-
const install = (app: App): void => {
|
|
9
|
-
components.forEach(component => app.component(component.__name as string, component))
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
Breadcrumb
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const viteVueNode = { install };
|
|
16
|
-
export default viteVueNode
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue'
|
|
2
|
-
import syButton from './sy-button'
|
|
3
|
-
|
|
4
|
-
const components = [
|
|
5
|
-
syButton
|
|
6
|
-
];
|
|
7
|
-
|
|
8
|
-
const install = (app: App): void => {
|
|
9
|
-
components.forEach(component => app.component(component.__name as string, component))
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
syButton
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const viteVueNode = { install };
|
|
16
|
-
export default viteVueNode
|
|
File without changes
|
|
File without changes
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import HelloWorld from './components/HelloWorld.vue'
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div>
|
|
7
|
-
<a href="https://vitejs.dev" target="_blank">
|
|
8
|
-
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://vuejs.org/" target="_blank">
|
|
11
|
-
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
12
|
-
</a>
|
|
13
|
-
</div>
|
|
14
|
-
<HelloWorld msg="Vite + Vue" />
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<style scoped>
|
|
18
|
-
.logo {
|
|
19
|
-
height: 6em;
|
|
20
|
-
padding: 1.5em;
|
|
21
|
-
will-change: filter;
|
|
22
|
-
transition: filter 300ms;
|
|
23
|
-
}
|
|
24
|
-
.logo:hover {
|
|
25
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
26
|
-
}
|
|
27
|
-
.logo.vue:hover {
|
|
28
|
-
filter: drop-shadow(0 0 2em #42b883aa);
|
|
29
|
-
}
|
|
30
|
-
</style>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import HelloWorld from './components/HelloWorld.vue'
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<!-- <div>
|
|
7
|
-
<a href="https://vitejs.dev" target="_blank">
|
|
8
|
-
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://vuejs.org/" target="_blank">
|
|
11
|
-
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
12
|
-
</a>
|
|
13
|
-
</div>
|
|
14
|
-
<HelloWorld msg="Vite + Vue" /> -->
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<style scoped>
|
|
18
|
-
.logo {
|
|
19
|
-
height: 6em;
|
|
20
|
-
padding: 1.5em;
|
|
21
|
-
will-change: filter;
|
|
22
|
-
transition: filter 300ms;
|
|
23
|
-
}
|
|
24
|
-
.logo:hover {
|
|
25
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
26
|
-
}
|
|
27
|
-
.logo.vue:hover {
|
|
28
|
-
filter: drop-shadow(0 0 2em #42b883aa);
|
|
29
|
-
}
|
|
30
|
-
</style>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<template>
|
|
5
|
-
<!-- <div>
|
|
6
|
-
<a href="https://vitejs.dev" target="_blank">
|
|
7
|
-
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
8
|
-
</a>
|
|
9
|
-
<a href="https://vuejs.org/" target="_blank">
|
|
10
|
-
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
11
|
-
</a>
|
|
12
|
-
</div>
|
|
13
|
-
<HelloWorld msg="Vite + Vue" /> -->
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<style scoped>
|
|
17
|
-
.logo {
|
|
18
|
-
height: 6em;
|
|
19
|
-
padding: 1.5em;
|
|
20
|
-
will-change: filter;
|
|
21
|
-
transition: filter 300ms;
|
|
22
|
-
}
|
|
23
|
-
.logo:hover {
|
|
24
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
25
|
-
}
|
|
26
|
-
.logo.vue:hover {
|
|
27
|
-
filter: drop-shadow(0 0 2em #42b883aa);
|
|
28
|
-
}
|
|
29
|
-
</style>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<template>
|
|
5
|
-
<!-- <div>
|
|
6
|
-
<a href="https://vitejs.dev" target="_blank">
|
|
7
|
-
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
8
|
-
</a>
|
|
9
|
-
<a href="https://vuejs.org/" target="_blank">
|
|
10
|
-
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
11
|
-
</a>
|
|
12
|
-
</div>
|
|
13
|
-
<HelloWorld msg="Vite + Vue" /> -->
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<style scoped>
|
|
17
|
-
.logo {
|
|
18
|
-
height: 6em;
|
|
19
|
-
padding: 1.5em;
|
|
20
|
-
will-change: filter;
|
|
21
|
-
transition: filter 300ms;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.logo:hover {
|
|
25
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.logo.vue:hover {
|
|
29
|
-
filter: drop-shadow(0 0 2em #42b883aa);
|
|
30
|
-
}
|
|
31
|
-
</style>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<template>
|
|
5
|
-
<sy-button></sy-button>
|
|
6
|
-
<!-- <div>
|
|
7
|
-
<a href="https://vitejs.dev" target="_blank">
|
|
8
|
-
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://vuejs.org/" target="_blank">
|
|
11
|
-
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
12
|
-
</a>
|
|
13
|
-
</div>
|
|
14
|
-
<HelloWorld msg="Vite + Vue" /> -->
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<style scoped>
|
|
18
|
-
.logo {
|
|
19
|
-
height: 6em;
|
|
20
|
-
padding: 1.5em;
|
|
21
|
-
will-change: filter;
|
|
22
|
-
transition: filter 300ms;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.logo:hover {
|
|
26
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.logo.vue:hover {
|
|
30
|
-
filter: drop-shadow(0 0 2em #42b883aa);
|
|
31
|
-
}
|
|
32
|
-
</style>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<template>
|
|
5
|
-
<sy-button></sy-button>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<style scoped>
|
|
9
|
-
.logo {
|
|
10
|
-
height: 6em;
|
|
11
|
-
padding: 1.5em;
|
|
12
|
-
will-change: filter;
|
|
13
|
-
transition: filter 300ms;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.logo:hover {
|
|
17
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.logo.vue:hover {
|
|
21
|
-
filter: drop-shadow(0 0 2em #42b883aa);
|
|
22
|
-
}
|
|
23
|
-
</style>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "preserve",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true
|
|
22
|
-
},
|
|
23
|
-
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
24
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
25
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "preserve",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"node":true
|
|
23
|
-
},
|
|
24
|
-
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
25
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
26
|
-
}
|