Skip to content

Commit 4c5de13

Browse files
authored
Merge pull request #309 from rohansingh754/dev-v2.1.2
Resolve installation issue.
2 parents 5904974 + 2bd235e commit 4c5de13

File tree

10 files changed

+7033
-7176
lines changed

10 files changed

+7033
-7176
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,29 @@ It packs with lots of demanding features that allows your business to scale in n
2828
### 2. Requirements:
2929

3030
* **Bagisto**: v2.1.2
31-
31+
* **Bagisto Rest API**: v2.1
3232

3333
### 3. Installation:
34+
* Note: Make sure Bagisto Rest API v2.1 installed and configured. If not then install and confiure using the following link.
35+
36+
```
37+
https://github.com/bagisto/rest-api
38+
```
39+
3440
* Install the PWA extension
41+
3542
```
3643
composer require bagisto/pwa:dev-master
3744
```
3845

39-
* Note: Make sure Bagisto Rest API installed and configured. If not then install and confiure using the following link.
46+
```
47+
composer require whichbrowser/parser
48+
```
49+
50+
* Goto config/sanctum.php file and empty the guard variable.
4051

4152
```
42-
https://github.com/bagisto/rest-api
53+
'guard' => [],
4354
```
4455

4556
* Run these commands below to complete the setup
@@ -57,9 +68,7 @@ php artisan route:cache
5768
```
5869

5970
```
60-
php artisan vendor:publish
61-
62-
-> Press 0 and then press enter to publish all assets and configurations.
71+
php artisan vendor:publish --provider="Webkul\PWA\Providers\PWAServiceProvider" --force
6372
```
6473

6574
> That's it, now go to https://yourdomain/pwa
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
.pwa-icon {
2-
width: 24px;
3-
height: 25px;
4-
display: inline-block;
5-
background-size: cover;
6-
background-image: url("../images/Icon-PWA.svg");
2+
width: 24px;
3+
height: 25px;
4+
display: inline-block;
5+
background-size: cover;
6+
background-image: url("../images/Icon-PWA.svg");
77
}
88

99
.bell-icon {
10-
background-image: url("../images/Icon-bell.svg");
11-
height: 24px;
12-
width: 24px;
10+
background-image: url("../images/Icon-bell.svg");
11+
height: 24px;
12+
width: 24px;
1313
}
1414

1515
.router-link-active .pwa-icon,
1616
.active .pwa-icon {
17-
background-image: url("../images/Icon-PWA-Active.svg");
17+
background-image: url("../images/Icon-PWA-Active.svg");
1818
}
19-
2019
.router-link-active.pwa-icon,
2120
.active.pwa-icon {
22-
background-image: url("../images/Icon-PWA-Active.svg");
23-
}
21+
background-image: url("../images/Icon-PWA-Active.svg");
22+
}

0 commit comments

Comments
 (0)