From aa5a6fce4c217d85b1d5de19099d717ca033674b Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 17 Feb 2024 19:03:23 +0000 Subject: [PATCH] Update build scripts --- package.json | 11 +++-------- vendor/laravel/ui/README.md | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index ab2059b0..928854b9 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,9 @@ { "private": true, "scripts": { - "dev": "npm run development", - "development": "mix", - "watch": "mix watch", - "watch-poll": "mix watch -- --watch-options-poll=1000", - "hot": "mix watch --hot", - "prod": "npm run production", - "production": "mix --production", - "lint": "eslint 'resources/assets/js/*'" + "lint": "eslint 'resources/assets/js/*'", + "dev": "vite", + "build": "vite build" }, "devDependencies": { "bootstrap-sass": "^3.4.3", diff --git a/vendor/laravel/ui/README.md b/vendor/laravel/ui/README.md index ed28d3dc..e976cc1d 100644 --- a/vendor/laravel/ui/README.md +++ b/vendor/laravel/ui/README.md @@ -110,7 +110,7 @@ To use the component in your application, you may drop it into one of your HTML @endsection ``` -> Remember, you should run the `npm run dev` command each time you change a Vue component. Or, you may run the `npm run watch` command to monitor and automatically recompile your components each time they are modified. +> Remember, you should run the `npm run dev` command each time you change a Vue component. Or, you may run the `npm run dev` command to monitor and automatically recompile your components each time they are modified. If you are interested in learning more about writing Vue components, you should read the [Vue documentation](https://vuejs.org/guide/), which provides a thorough, easy-to-read overview of the entire Vue framework.