Skip to content

Tutorial on how to automate CSS inline injection with Gulp and improve your PWA performance

License

Notifications You must be signed in to change notification settings

LorenzoZaccagnini/pwa-gulp-inject-inline-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Improve your PWA performance injecting inline CSS with Gulp

This is the repository for the example on my Medium article about injecting inline CSS with Gulp

Read the article

Getting Started

Clone the repository

git clone https://github.com/LorenzoZaccagnini/pwa-gulp-inject-inline-css

Prerequisites

Install Gulp globally

npm i gulp-cli -g

Installing

Go into the project folder and install the modules required

npm i

To create the html file with the injected inline css run the gulp task

gulp inline

Built With

  • Gulp - toolkit for automating painful or time-consuming tasks
  • gulp-inject-source - Gulp inject inline plugin

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Tutorial on how to automate CSS inline injection with Gulp and improve your PWA performance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published