Skip to content

Instantly share code, notes, and snippets.

@joparara
Last active October 21, 2024 23:00
Show Gist options
  • Save joparara/5a1e4aadc56886b62073f155d809b714 to your computer and use it in GitHub Desktop.
Save joparara/5a1e4aadc56886b62073f155d809b714 to your computer and use it in GitHub Desktop.
setting up bootstrap laravel.md
  1. Install Laravel

    composer create-project laravel/laravel example-app

  2. Use in project folder

    npm i bootstrap

  3. Copy the css and js folders from the following locations

    - node_modules/bootstrap/dist/css
    - node_modules/bootstrap/dist/js
  1. Copy and Paste the css and js files into public/

  2. Insert the links into the layout file

    <link rel="stylesheet" href="{{ asset( 'css/bootstrap.min.css' ) }}">
    <script src="{{ asset( 'js/bootstrap.min.js' ) }}"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment