@strav/spring 0.3.6 → 0.3.8
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strav/spring",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flagship framework scaffolding tool for the Strav ecosystem.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@strav/kernel": "0.3.
|
|
25
|
+
"@strav/kernel": "0.3.8"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/bun": "latest"
|
|
@@ -13,6 +13,7 @@ const builder = new IslandBuilder({
|
|
|
13
13
|
},
|
|
14
14
|
outDir: './public/builds',
|
|
15
15
|
})
|
|
16
|
+
await builder.build()
|
|
16
17
|
|
|
17
18
|
// Register service providers
|
|
18
19
|
app
|
|
@@ -23,7 +24,6 @@ app
|
|
|
23
24
|
builder.watch()
|
|
24
25
|
ViewEngine.instance.watch()
|
|
25
26
|
}
|
|
26
|
-
await builder.build()
|
|
27
27
|
})
|
|
28
28
|
|
|
29
29
|
// Load routes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<p>Vue Island</p>
|
|
4
|
+
<p>Current count: {{ count }}</p>
|
|
5
|
+
<button @click="increment">Increment</button>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
<script setup lang="ts">
|
|
9
|
+
import { ref } from 'vue'
|
|
10
|
+
|
|
11
|
+
const count = ref(0)
|
|
12
|
+
|
|
13
|
+
const increment = () => {
|
|
14
|
+
count.value++
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
17
|
+
<style scoped>
|
|
18
|
+
div {
|
|
19
|
+
border: 1px solid var(--bg-feature);
|
|
20
|
+
padding: 10px;
|
|
21
|
+
border-radius: 5px;
|
|
22
|
+
margin: 20px 0;
|
|
23
|
+
}
|
|
24
|
+
h1 {
|
|
25
|
+
color: red;
|
|
26
|
+
font-size: 18px;
|
|
27
|
+
}
|
|
28
|
+
button {
|
|
29
|
+
padding: 5px 10px;
|
|
30
|
+
}
|
|
31
|
+
</style>
|
|
@@ -6,8 +6,8 @@ import { ViewProvider } from '@strav/view'
|
|
|
6
6
|
export const providers: ServiceProvider[] = [
|
|
7
7
|
new ConfigProvider(),
|
|
8
8
|
new HttpProvider(),
|
|
9
|
-
new DatabaseProvider(),
|
|
9
|
+
// new DatabaseProvider(),
|
|
10
10
|
new EncryptionProvider(),
|
|
11
|
-
new SessionProvider(),
|
|
11
|
+
// new SessionProvider(),
|
|
12
12
|
new ViewProvider(),
|
|
13
13
|
]
|