https://github.com/vahidalvandi/starter-mix-bootstrap5
starter webpak with bootstrap 5 with sass
https://github.com/vahidalvandi/starter-mix-bootstrap5
bootsrap5 laravelmix sass webpack
Last synced: 24 days ago
JSON representation
starter webpak with bootstrap 5 with sass
- Host: GitHub
- URL: https://github.com/vahidalvandi/starter-mix-bootstrap5
- Owner: vahidalvandi
- Created: 2022-02-16T08:52:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T07:29:47.000Z (over 2 years ago)
- Last Synced: 2024-01-22T09:26:39.459Z (over 2 years ago)
- Topics: bootsrap5, laravelmix, sass, webpack
- Language: SCSS
- Homepage:
- Size: 899 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootstrap 5.2 RTL , LTR with webpack
## Introduction
This demo is based on laravel-mix starter kit and its using ejs-compiled-loader to compile ejs files.
other functionality and document should work as laravel-mix documentation.
## Installation
npm install
## To run with live reload
npm run hot
## Generate production build
npm run production
## Add New Html File
new HtmlWebpackPlugin({
template: "ejs-compiled-loader!./src/index.ejs",
filename: "index.html",
inject: false
})
this will generate index.html file in dist folder and header/footer will be included, please check index.ejs file content.
## Include html file
we can use standerd ejs syntex
<% include ./include/header.ejs %>
## app.scss
this file includes bootstrap directly from node_modules