Skip to content

Commit 36d56e6

Browse files
committed
upgrade nuxt
1 parent 4a20898 commit 36d56e6

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ use $**fetch** without having to resort to custom $**fetch** wrappers.
5656

5757
## Installation
5858
### Standalone
59-
1. `composer install && yarn install`
59+
1. `composer install && bun install`
6060
2. `cp .env.example .env && php artisan key:generate && php artisan storage:link`
6161
3. `php artisan migrate && php artisan db:seed`
6262
4. `php artisan octane:install`
6363
5. `php artisan octane:start --watch --port=8000 --host=127.0.0.1`
64-
6. `yarn dev`
64+
6. `bun dev`
6565

6666
### Docker Deploy (Laravel Sail)
6767
[Laravel Sail](https://laravel.com/docs/11.x/sail) is a light-weight command-line interface for interacting with Laravel's default Docker development environment. Sail provides a great starting point for building a Laravel application using PHP, MySQL, and Redis without requiring prior Docker experience.
@@ -85,8 +85,8 @@ alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
8585
To make sure this is always available, you may add this to your shell configuration file in your home directory, such as ~/.zshrc or ~/.bashrc, and then restart your shell.
8686

8787
3. `sail up`
88-
4. `sail yarn install`
89-
5. `sail yarn dev`
88+
4. `sail bun install`
89+
5. `sail bun dev`
9090

9191
> Read the full [Laravel Sail](https://laravel.com/docs/11.x/sail) documentation to get the best user experience
9292

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
3-
compatibilityDate: '2024-07-03',
3+
compatibilityDate: '2024-12-29',
44
rootDir: 'nuxt/',
55

66
future: {

package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@
1313
"api": "php artisan octane:start --watch"
1414
},
1515
"devDependencies": {
16-
"@nuxt/devtools": "^1.3.14",
17-
"@nuxt/image": "^1.7.0",
18-
"@nuxt/ui": "^2.18.4",
19-
"@pinia/nuxt": "^0.5.4",
20-
"chokidar": "^3.6.0",
21-
"dayjs-nuxt": "^2.1.9",
22-
"nuxt": "^3.13.0",
23-
"nuxt-security": "2.0.0-rc.9",
24-
"vue": "^3.4.38",
25-
"vue-router": "^4.4.3"
16+
"@nuxt/devtools": "^1.7.0",
17+
"@nuxt/image": "^1.8.1",
18+
"@nuxt/ui": "^2.20.0",
19+
"@pinia/nuxt": "^0.9.0",
20+
"chokidar": "^4.0.3",
21+
"dayjs-nuxt": "^2.1.11",
22+
"nuxt": "^3.15.0",
23+
"nuxt-security": "^2.1.5",
24+
"vue": "^3.5.13",
25+
"vue-router": "^4.5.0"
26+
},
27+
"overrides": {
28+
"vite": "5.4.11"
2629
}
2730
}

0 commit comments

Comments
 (0)