1.0.2 • Published 2 years ago

laravel-mix-webapp v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

Laravel-mix WebApp

Leverages on Favicons Webpack Plugin and HTML Webpack Plugin to automatically generate your favicons for you and inject them into a HTML file.

Install

npm i laravel-mix-webapp --save-dev
yarn add laravel-mix-webapp --dev

Usage

require('@aschan/laravel-mix-webapp')

mix.webApp({logo: 'src/path-to-logo.svg'})

Options

optiontypedefaultdescription
logostringThe path to the logo from which the favicons will be generated
filenamestringwebapp.htmlThe filename of the HTML file that should get generated
outputPathstring/webiconsThe path to the directory where icons should be placed
prefixstringassets/webicons/The path prefix for the generated icon tags
faviconsobject{}See favicons
1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

4 years ago