create-vitrify 0.7.1 → 0.7.2
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/dist/templates.js
CHANGED
@@ -22,7 +22,8 @@ export const templates = {
|
|
22
22
|
'build:ssr': 'vitrify build -m ssr',
|
23
23
|
'build:ssg': 'vitrify build -m ssg',
|
24
24
|
'minify:csr': 'vitrify minify ./dist/csr',
|
25
|
-
'minify:ssr': 'vitrify minify ./dist/ssr',
|
25
|
+
'minify:ssr:server': 'vitrify minify ./dist/ssr/server',
|
26
|
+
'minify:ssr:client': 'vitrify minify ./dist/ssr/client',
|
26
27
|
'minify:ssg': 'vitrify minify ./dist/static',
|
27
28
|
test: 'vitrify test',
|
28
29
|
lint: 'eslint --ext .vue --ext .ts src',
|
@@ -32,6 +33,7 @@ export const templates = {
|
|
32
33
|
},
|
33
34
|
dependencies: await getLatestVersions([
|
34
35
|
'@fastify/middie',
|
36
|
+
'@fastify/one-line-logger',
|
35
37
|
'@fastify/static'
|
36
38
|
]),
|
37
39
|
devDependencies: await getLatestVersions([
|
@@ -103,7 +105,8 @@ export const templates = {
|
|
103
105
|
'build:ssr': 'vitrify build -m ssr',
|
104
106
|
'build:ssg': 'vitrify build -m ssg',
|
105
107
|
'minify:csr': 'vitrify minify ./dist/csr',
|
106
|
-
'minify:ssr': 'vitrify minify ./dist/ssr',
|
108
|
+
'minify:ssr:server': 'vitrify minify ./dist/ssr/server',
|
109
|
+
'minify:ssr:client': 'vitrify minify ./dist/ssr/client',
|
107
110
|
'minify:ssg': 'vitrify minify ./dist/static',
|
108
111
|
test: 'vitrify test',
|
109
112
|
lint: 'eslint --ext .vue --ext .ts src',
|
@@ -113,6 +116,7 @@ export const templates = {
|
|
113
116
|
},
|
114
117
|
dependencies: await getLatestVersions([
|
115
118
|
'@fastify/middie',
|
119
|
+
'@fastify/one-line-logger',
|
116
120
|
'@fastify/static'
|
117
121
|
]),
|
118
122
|
devDependencies: await getLatestVersions([
|
@@ -187,7 +191,8 @@ export const templates = {
|
|
187
191
|
'build:ssr': 'vitrify build -m ssr',
|
188
192
|
'build:ssg': 'vitrify build -m ssg',
|
189
193
|
'minify:csr': 'vitrify minify ./dist/csr',
|
190
|
-
'minify:ssr': 'vitrify minify ./dist/ssr',
|
194
|
+
'minify:ssr:server': 'vitrify minify ./dist/ssr/server',
|
195
|
+
'minify:ssr:client': 'vitrify minify ./dist/ssr/client',
|
191
196
|
'minify:ssg': 'vitrify minify ./dist/static',
|
192
197
|
test: 'vitrify test',
|
193
198
|
lint: 'eslint --ext .vue --ext .ts src',
|
@@ -197,10 +202,12 @@ export const templates = {
|
|
197
202
|
},
|
198
203
|
dependencies: await getLatestVersions([
|
199
204
|
'@fastify/middie',
|
205
|
+
'@fastify/one-line-logger',
|
200
206
|
'@fastify/static'
|
201
207
|
]),
|
202
208
|
devDependencies: await getLatestVersions([
|
203
209
|
'@iconify-json/mdi',
|
210
|
+
'@iconify-json/flagpack',
|
204
211
|
'@quasar/extras',
|
205
212
|
'@simsustech/quasar-components',
|
206
213
|
'@typescript-eslint/eslint-plugin',
|
@@ -278,6 +285,7 @@ export const templates = {
|
|
278
285
|
},
|
279
286
|
dependencies: await getLatestVersions([
|
280
287
|
'@fastify/middie',
|
288
|
+
'@fastify/one-line-logger',
|
281
289
|
'@fastify/static'
|
282
290
|
]),
|
283
291
|
devDependencies: await getLatestVersions([
|
package/package.json
CHANGED
@@ -1,7 +1,27 @@
|
|
1
1
|
<template>
|
2
|
-
<q-tabs>
|
2
|
+
<q-tabs class="navigation-rail">
|
3
3
|
<q-route-tab icon="i-mdi-home" to="/" label="Home" />
|
4
4
|
</q-tabs>
|
5
5
|
</template>
|
6
6
|
|
7
7
|
<script setup lang="ts"></script>
|
8
|
+
|
9
|
+
<style scoped>
|
10
|
+
.navigation-rail:deep(.q-tab__content) {
|
11
|
+
min-width: 52px;
|
12
|
+
}
|
13
|
+
.navigation-rail:deep(.q-tab__indicator) {
|
14
|
+
color: var(--light-secondary-container);
|
15
|
+
position: absolute;
|
16
|
+
width: 52px;
|
17
|
+
left: calc(50% - 26px);
|
18
|
+
border-radius: 16px;
|
19
|
+
height: 32px;
|
20
|
+
top: calc(50% - 23px);
|
21
|
+
min-height: unset;
|
22
|
+
}
|
23
|
+
|
24
|
+
.body--dark .navigation-rail:deep(.q-tab__indicator) {
|
25
|
+
color: var(--dark-secondary-container);
|
26
|
+
}
|
27
|
+
</style>
|