The purpose of this project was meant to be a quick overview of the new release of Bootstrap 5.3 and refresh my sass skills as styled components was mainly used professionally.
This project only use Bootstrap classes & components directly added in ./src/main.html
thus all path in image src tag
won't work due to webpack template loader, more information here HTML template using <img src='path' /> won't work
The solution chosen was to require the assets along with the template loader. webpack 5 owner comment
- Bootstrap 5.3
- sass
- webpack
Before running any script run the following command :
git clone https://github.com/stephane777/booking.com.git
cd booking.com
npm install
For development mode run :
npm run dev
For production mode run :
npm run build