create-vitrify 0.5.3 → 0.6.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/dist/templates.js CHANGED
@@ -46,7 +46,9 @@ export const templates = {
46
46
  '@vue/runtime-dom',
47
47
  '@vue/server-renderer',
48
48
  '@vue/shared',
49
- 'critters',
49
+ '@unocss/reset',
50
+ 'animated-unocss',
51
+ 'beasties',
50
52
  'eslint',
51
53
  'eslint-config-prettier',
52
54
  'eslint-plugin-prettier-vue',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitrify",
3
- "version": "0.5.3",
3
+ "version": "0.6.1",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "type": "module",
@@ -21,17 +21,17 @@
21
21
  },
22
22
  "homepage": "https://github.com/simsustech/vitrify/tree/main/packages/create-vitrify#readme",
23
23
  "dependencies": {
24
- "@vitrify/tools": "^0.2.3",
24
+ "@vitrify/tools": "^0.3.0",
25
25
  "handlebars": "^4.7.8",
26
- "@inquirer/prompts": "^7.1.0",
26
+ "@inquirer/prompts": "^7.2.0",
27
27
  "latest-version": "^9.0.0",
28
28
  "minimist": "^1.2.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/minimist": "^1.2.5",
32
- "@types/node": "^22.10.0",
32
+ "@types/node": "^22.10.2",
33
33
  "typescript": "^5.7.2",
34
- "vite": "^6.0.1",
34
+ "vite": "^6.0.3",
35
35
  "vue": "^3.5.13"
36
36
  },
37
37
  "files": [
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <link rel="icon" href="/favicon.ico" />
6
7
  <title></title>
7
8
  </head>
8
9
 
@@ -10,7 +10,8 @@ const routes: RouteRecordRaw[] = [
10
10
  // Always leave this as last one,
11
11
  // but you can also remove it
12
12
  {
13
- path: '/:catchAll(.*)*',
13
+ path: '/404',
14
+ alias: '/:catchAll(.*)*',
14
15
  component: () => import('src/pages/Error404Page.vue')
15
16
  }
16
17
  ]
@@ -1,5 +1,6 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
2
  import { certificateFor } from 'devcert'
3
+ import { QuasarPreset } from 'vitrify'
3
4
 
4
5
  export default async function ({ mode, command }): Promise<VitrifyConfig> {
5
6
  const config: VitrifyConfig = {
@@ -7,6 +8,12 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
7
8
  hooks: {
8
9
  onSetup: [new URL('src/setup.ts', import.meta.url)]
9
10
  },
11
+ /*
12
+ * Experimental
13
+ */
14
+ // unocss: {
15
+ // presets: [QuasarPreset()]
16
+ // },
10
17
  sass: {
11
18
  variables: {
12
19
  $primary: '#000000'
@@ -25,6 +32,10 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
25
32
  iconSet: 'svg-material-icons',
26
33
  plugins: ['Dialog', 'Notify']
27
34
  }
35
+ /*
36
+ * Disable SASS if you use UnoCSS
37
+ */
38
+ // disableSass: true
28
39
  }
29
40
  }
30
41
  if (mode === 'development') {