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
Copy file name to clipboardExpand all lines: docs/content/integration-guides/laravel.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,40 +137,40 @@ With dependencies installed and our project folder ready for us to start coding,
137
137
138
138
```scss
139
139
// Import all of CoreUI's CSS
140
-
@import"@coreui/coreui/scss/coreui";
140
+
@import"@coreui/coreui/scss/coreui"
141
141
```
142
142
143
143
**ForPROusers**
144
144
145
145
```scss
146
146
// Import all of CoreUI PRO's CSS
147
-
@import"@coreui/coreui-pro/scss/coreui";
147
+
@import"@coreui/coreui-pro/scss/coreui"
148
148
```
149
149
150
150
*Youcanalsoimportourstylesheetsindividuallyifyouwant. [ReadourSassimportdocs]({{< docsref"/customize/sass#importing" >}}) for details.*
151
151
152
152
2. **Next we import CoreUI’s JavaScript**. Add the following to resources/js/bootstrap.js to import all of CoreUI’s JS. Popper will be imported automatically through CoreUI.
153
-
153
+
<!-- eslint-skip -->
154
154
```js
155
155
// Import all of CoreUI's JS
156
-
import*ascoreuifrom'@coreui/coreui';
156
+
import * as coreui from '@coreui/coreui'
157
157
158
-
window.coreui= coreui;
158
+
window.coreui = coreui
159
159
```
160
160
161
161
**For PRO users**
162
-
162
+
<!-- eslint-skip -->
163
163
```js
164
164
// Import all of CoreUI's JS
165
-
import*ascoreuifrom'@coreui/coreui-pro';
165
+
import*ascoreuifrom'@coreui/coreui-pro'
166
166
167
-
window.coreui= coreui;
167
+
window.coreui= coreui
168
168
```
169
169
170
170
You can also import JavaScript plugins individually as needed to keep bundle sizes down:
0 commit comments