You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2020. It is now read-only.
The package will automatically register it's service provider.
15
15
16
-
Install the preset by running the `preset` command if you only want to update the basic CSS and JavaScript files:
16
+
Install the basic preset to only update the CSS and JavaScript files:
17
17
18
18
```bash
19
19
php artisan preset bootstrap4
20
20
```
21
21
22
-
Or if you want to install everything, including auth views that use Bootstrap 4 markup:
22
+
Or if you want to install everything, including auth views:
23
23
24
24
```bash
25
25
php artisan preset bootstrap-auth
26
26
```
27
27
28
-
Update NPM packages and build the CSS/JavaScript:
28
+
Next, update NPM packages and build the CSS/JavaScript:
29
29
30
30
```bash
31
31
yarn && yarn dev
@@ -37,11 +37,11 @@ Or via NPM:
37
37
npm install && npm run dev
38
38
```
39
39
40
-
**Important**: Make sure you have a backup of your code you use this on an existing project. The commands copy/replace views, CSS, and JavaScript resources.
40
+
**Important**: Make sure you have a backup of your code. The presets update `package.json`, and replace views, CSS, and JavaScript.
41
41
42
42
### Variables
43
43
44
-
The Bootstrap 4 presets include the same familiar `resources/assets/scss/_variables.scss` file, with some updated values to match the current `3.x` version that ships with Laravel. Feel free to add more here if you find any that are missing.
44
+
The Bootstrap 4 presets include the same familiar `resources/assets/scss/_variables.scss` file, with some updated values to match Bootstrap 4 variable changes. This preset looks similar to the current `3.x` version that ships with Laravel, but isn't identical.
0 commit comments