create-vitrify 0.6.0 → 0.6.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
@@ -46,6 +46,8 @@ export const templates = {
46
46
  '@vue/runtime-dom',
47
47
  '@vue/server-renderer',
48
48
  '@vue/shared',
49
+ '@unocss/reset',
50
+ 'animated-unocss',
49
51
  'beasties',
50
52
  'eslint',
51
53
  'eslint-config-prettier',
@@ -55,6 +57,7 @@ export const templates = {
55
57
  'fastify',
56
58
  'npm-run-all',
57
59
  'typescript',
60
+ 'unocss',
58
61
  'vite',
59
62
  'vitrify',
60
63
  'workbox-window'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitrify",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "type": "module",
@@ -1,5 +1,21 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
2
  import { certificateFor } from 'devcert'
3
+ import { QuasarPreset, type QuasarConf } from 'vitrify'
4
+
5
+ const quasarConf: QuasarConf = {
6
+ // extras: ['material-icons'],
7
+ framework: {
8
+ components: [
9
+ // Deprecated
10
+ ],
11
+ iconSet: 'svg-material-icons',
12
+ plugins: ['Dialog', 'Notify']
13
+ }
14
+ /*
15
+ * Disable SASS if you use UnoCSS
16
+ */
17
+ // disableSass: true
18
+ }
3
19
 
4
20
  export default async function ({ mode, command }): Promise<VitrifyConfig> {
5
21
  const config: VitrifyConfig = {
@@ -11,7 +27,11 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
11
27
  * Experimental
12
28
  */
13
29
  // unocss: {
14
- // presets: [QuasarPreset()]
30
+ // presets: [
31
+ // QuasarPreset({
32
+ // plugins: quasarConf['framework']['plugins']
33
+ // })
34
+ // ]
15
35
  // },
16
36
  sass: {
17
37
  variables: {
@@ -22,20 +42,7 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
22
42
  serverModules: []
23
43
  }
24
44
  },
25
- quasar: {
26
- // extras: ['material-icons'],
27
- framework: {
28
- components: [
29
- // Deprecated
30
- ],
31
- iconSet: 'svg-material-icons',
32
- plugins: ['Dialog', 'Notify']
33
- }
34
- /*
35
- * Disable SASS if you use UnoCSS
36
- */
37
- // disableSass: true
38
- }
45
+ quasar: quasarConf
39
46
  }
40
47
  if (mode === 'development') {
41
48
  config.server = {