Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
wout committed Feb 28, 2024
2 parents 64ea18f + b184c57 commit 1d35565
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

<br>

Lucky Vite
Lucky Vite

</h1>

<h3 align="center">
Expand Down Expand Up @@ -97,6 +98,7 @@ Change the scripts section in `package.json` to use vite instead of laravel mix:
### Further steps

- if you use the CI workflow for Github Actions, you need to change `yarn prod` into `yarn build` in `ci.yml`
- if you use `script/setup`, uncomment `yarn dev | indent` under `Compiling assets`
- you may want to exclude Vite's `outDir` (e.g. `public/assets`) from the repo
- all the `laravel-mix` dependencies can be removed from from `package.json`
- `webpack.mix.js` can be removed
Expand Down Expand Up @@ -187,12 +189,7 @@ Lucky and Vite share some information which is managed through the `config/lucky

```json
{
"aliases": [
"css",
"fonts",
"images",
"js"
],
"aliases": ["css", "fonts", "images", "js"],
"outDir": "public/assets",
"root": "src/js",
"entry": "entry",
Expand Down Expand Up @@ -238,6 +235,7 @@ $ guardian
```

This will automatically:

- run ameba for src and spec files
- run the relevant spec for any file in src
- run spec file whenever they are saved
Expand Down

0 comments on commit 1d35565

Please sign in to comment.