https://github.com/logisticinfotech/laravel-mix-starter
Laravel Mix Starter Project
https://github.com/logisticinfotech/laravel-mix-starter
demo-app laravel laravel-application laravel-framework laravel-mix laravel-mix-plugin starter-kit
Last synced: 5 months ago
JSON representation
Laravel Mix Starter Project
- Host: GitHub
- URL: https://github.com/logisticinfotech/laravel-mix-starter
- Owner: logisticinfotech
- Created: 2018-05-15T17:27:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-05T10:29:18.000Z (almost 5 years ago)
- Last Synced: 2025-04-23T21:07:30.360Z (over 1 year ago)
- Topics: demo-app, laravel, laravel-application, laravel-framework, laravel-mix, laravel-mix-plugin, starter-kit
- Language: EJS
- Homepage: https://www.logisticinfotech.com/blog/laravel-mix-starter-for-html-bootstrap-theme-development
- Size: 2.6 MB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Mix Starter Project
## 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.
You can find step by step guide from [this blog](https://www.logisticinfotech.com/blog/laravel-mix-starter-for-html-bootstrap-theme-development)
## Installation
npm install
## To run with live reload
npm run hot
## Generate production build
npm run prod
## 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