Skip to content

Commit c5c79d9

Browse files
authored
Merge pull request #95 from balajidharma/2.x-Changes
Fixed style import issue
2 parents ba4077c + 725d4e9 commit c5c79d9

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ To change the Admin Prefix, change `prefix` on `config/admin.php` or add the `AD
6565
- [Build a Laravel admin panel from scratch](https://blog.devgenius.io/laravel-create-an-admin-panel-from-scratch-part-1-installation-8c11dae7e684)
6666
- [Laravel Vue Admin Panel](https://github.com/balajidharma/laravel-vue-admin-panel)
6767

68+
## Update guide
69+
Encountering errors post `composer update`? Reset the database and re-publish vendor assets to resolve issues during active development
70+
71+
```
72+
php artisan vendor:publish --tag=admin-core --force
73+
74+
php artisan migrate --seed --seeder=AdminCoreSeeder
75+
```
76+
6877
## Screenshots
6978
<p align="center">
7079
<img src="https://user-images.githubusercontent.com/6037466/179876455-1fbe6c89-9afc-4002-879b-fe3fc6506e34.png" >

resources/css/admin/app.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1+
@use "choices.js/src/styles/choices";
2+
@use '@yaireo/tagify/dist/tagify.css';
3+
14
@config "../../../tailwind.admin.config.js";
25
@tailwind base;
36
@tailwind components;
47
@tailwind utilities;
58

6-
@import "choices.js/src/styles/choices";
7-
@import '@yaireo/tagify/dist/tagify.css';
8-
99
:root {
1010
--my-color: #fff;
1111
}
12+
1213
[data-theme='dark'] {
1314
--my-color: #000;
1415
}
16+
1517
.menu-icon svg {
1618
width: 20px;
1719
height: 20px;

0 commit comments

Comments
 (0)