File tree Expand file tree Collapse file tree 5 files changed +19
-12
lines changed Expand file tree Collapse file tree 5 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
- import logoLaravel from ' ../../assets/images/logos/laravel.svg'
2
+ // import logoLaravel from '../../assets/images/logos/laravel.svg'
3
3
4
- const companies = ref ([
5
- [
6
- { name: ' Laravel' , logo: logoLaravel },
7
- { name: ' Laravel' , logo: logoLaravel },
8
- { name: ' Laravel' , logo: logoLaravel },
9
- ],
10
- ])
4
+ // const companies = ref([
5
+ // [
6
+ // { name: 'Laravel', logo: logoLaravel },
7
+ // { name: 'Laravel', logo: logoLaravel },
8
+ // { name: 'Laravel', logo: logoLaravel },
9
+ // ],
10
+ // ])
11
11
</script >
12
12
13
13
<template >
@@ -32,7 +32,11 @@ const companies = ref([
32
32
<br >Rapid development, for the best full-stack teams, and individuals.
33
33
</p >
34
34
<div class =" mt-10 flex justify-center gap-x-6" >
35
- <Button variant =" solid" color =" black" href =" /register" >
35
+ <Button
36
+ variant =" solid"
37
+ color =" blue"
38
+ href =" /register"
39
+ >
36
40
View Documentation
37
41
</Button >
38
42
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import type { UserModule } from '@stacksjs/types'
2
2
import type { Locale } from 'vue-i18n'
3
3
import fs from 'node:fs/promises'
4
4
import path from 'node:path'
5
+ import { handleError } from '@stacksjs/error-handling'
5
6
import yaml from 'js-yaml'
6
7
import { createI18n } from 'vue-i18n'
7
8
@@ -22,7 +23,8 @@ export const install: UserModule = async ({ app }) => {
22
23
await fs . access ( langPath )
23
24
}
24
25
catch ( error ) {
25
- console . error ( `The lang directory does not exist: ${ langPath } ` )
26
+ handleError ( `The lang directory does not exist: ${ langPath } ` , { shouldExit : false } )
27
+ handleError ( error , { shouldExit : false } )
26
28
return // Exit the function if the directory doesn't exist
27
29
}
28
30
Original file line number Diff line number Diff line change 1
1
import { path } from '@stacksjs/path'
2
2
import { fsWatch as watch } from '@stacksjs/storage'
3
3
4
- watch ( path . userModelsPath ( ) , async ( event : string , filename : string ) => {
4
+ // watch(path.userModelsPath(), async (event: string, filename: string) => {
5
+ watch ( path . userModelsPath ( ) , async ( ) => {
5
6
await Bun . $ `bun ../orm/generate-model.ts`
6
7
7
8
console . log ( 'generated orm models' )
Original file line number Diff line number Diff line change 54
54
"@eslint-community/eslint-plugin-eslint-comments" : " ^4.4.0" ,
55
55
"@eslint/markdown" : " ^6.2.0" ,
56
56
"@stacksjs/development" : " workspace:*" ,
57
- "@stacksjs/eslint-config" : " ^3.7.3-stacks-1.5 " ,
57
+ "@stacksjs/eslint-config" : " ^3.7.3-stacks-1.6 " ,
58
58
"@stylistic/eslint-plugin" : " ^2.9.0" ,
59
59
"@typescript-eslint/eslint-plugin" : " ^8.8.1" ,
60
60
"@unocss/eslint-plugin" : " 0.61.0" ,
You can’t perform that action at this time.
0 commit comments