Skip to content

Instantly share code, notes, and snippets.

{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Aiman CHABI",
"label": "Web Developer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
"summary": "I’m a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am use to wearing many hats. I am a very product focussed developer who priotizes user feedback first and foremost. I'm generally very flexible when investigating new roles. ",
"website": "https://freetiers.com",
@iceberg53
iceberg53 / custom-css-laravel-mix.md
Created August 31, 2018 08:40
Steps for adding a custom css file to be compiled into the main css file (app.css) with laravel-mix and webpack.mix.js
  1. Save the content of public/css/custom.css in resources/assets/sass/_custom.scss

You have to change the file extension to .scss and add an underscore at the beginning. The underscore will be useful when importing in your main app.scss file.

  1. Import your resources/assets/sass/_custom.scss file into your resources/assets/sass/app.scss this way :

    /* importing _custome.scss from the same directory containing the following files 
       resources/assets/sass/{app.scss, _custom.scss, _variables.scss} */