Skip to content

Commit 0eca63a

Browse files
committed
explain compile assets warning
1 parent 05a9b44 commit 0eca63a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ php artisan kui-fortify:install blade # This command will publish laravel/fortif
3838

3939
# then
4040
npm install && npm run dev # or yarn && yarn dev
41+
42+
# Laravel mix will compile successfully, but with 1 warning `Module not found: Error: Can't resolve '../../lang'`.
43+
# It will work but you can fix it by remove trycatch in `app.js` and import lang file like this:
44+
45+
# laravel 9
46+
# resolve: (lang) => import(`../../lang/${lang}.json`),
47+
48+
# laravel < 9
49+
# resolve: (lang) => import(`../lang/${lang}.json`),
50+
51+
# Until we fix it.
4152
```
4253

4354
4. Configure your database.

0 commit comments

Comments
 (0)