Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Upgrading to bootstrap 4. #35

Closed
klukiyan opened this issue Mar 27, 2018 · 2 comments
Closed

Feature Request: Upgrading to bootstrap 4. #35

klukiyan opened this issue Mar 27, 2018 · 2 comments

Comments

@klukiyan
Copy link

Hi,
first of all big thank you. Very good project and very nice that it uses latest laravel.
Can you please give me a hint what would be the right way to upgrade to bootstrap 4.0 in front-end?

@olivercastro
Copy link

olivercastro commented Mar 29, 2018

I'm not sure if this is correct it working on my end.

I've added the following entries under the "dependencies" of package.json

"bootstrap": "^4.0.0",
"popper.js": "^1.14.1",

Run npm install

Update webpack.mix.js

.scripts( [ 'node_modules/popper.js/dist/umd/popper.js', 'resources/assets/js/jquery-2.2.3.min.js', 'node_modules/bootstrap/dist/js/bootstrap.js', 'node_modules/select2/dist/js/select2.js', 'node_modules/datatables/media/js/jquery.dataTables.js', 'resources/assets/admin-lte/js/app.js' ], 'public/js/admin.min.js' )

I hope this helps

And run npm run dev

@klukiyan
Copy link
Author

@olivercastro thank you. I'll try it

@jsdecena jsdecena closed this as completed Apr 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants