Update build scripts

This commit is contained in:
Shift
2024-02-17 19:03:23 +00:00
parent 8781dbc9f5
commit aa5a6fce4c
2 changed files with 4 additions and 9 deletions

View File

@@ -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",

View File

@@ -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.