create-rspack 0.3.8 → 0.3.9
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/package.json
CHANGED
package/template-vue/src/App.vue
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
<script
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from "vue";
|
|
2
3
|
import HelloWorld from "./components/HelloWorld.vue";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
components: { HelloWorld },
|
|
6
|
-
data() {
|
|
7
|
-
return {
|
|
8
|
-
title
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
};
|
|
4
|
+
|
|
5
|
+
const title = ref("Rspack + Vue");
|
|
12
6
|
</script>
|
|
13
7
|
|
|
14
8
|
<template>
|
|
@@ -25,15 +19,17 @@ export default {
|
|
|
25
19
|
|
|
26
20
|
<style scoped>
|
|
27
21
|
.logo {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
height: 6em;
|
|
23
|
+
padding: 1.5em;
|
|
24
|
+
will-change: filter;
|
|
25
|
+
transition: filter 300ms;
|
|
32
26
|
}
|
|
27
|
+
|
|
33
28
|
.logo:hover {
|
|
34
|
-
|
|
29
|
+
filter: drop-shadow(0 0 2em #646cffaa);
|
|
35
30
|
}
|
|
31
|
+
|
|
36
32
|
.logo.vue:hover {
|
|
37
|
-
|
|
33
|
+
filter: drop-shadow(0 0 2em #42b883aa);
|
|
38
34
|
}
|
|
39
35
|
</style>
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
<script >
|
|
2
|
-
import {
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from "vue";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type: String,
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
data:function() {
|
|
11
|
-
return {count: 0}
|
|
4
|
+
defineProps({
|
|
5
|
+
msg: {
|
|
6
|
+
type: String,
|
|
12
7
|
}
|
|
13
8
|
})
|
|
9
|
+
const count = ref(0);
|
|
14
10
|
</script>
|
|
15
11
|
|
|
16
12
|
<template>
|