Node module that helps in creating a 'blank' working template at application's root folder to implement basic PWA features. Whenever I start a new project, I find myself manually creating a new files or copying one from another project to implement PWA features. To simplify this process, I created this node module to automate creating a simple node module to do it for me.
To install the module, open a terminal window and execute the following command:
npm install email@example.com --save-dev
To use the module, open a terminal window, navigate to the folder where you want the file created then issue the following command:
The module will create sample template which includes files related to PWA. It will create files at application's root folder. This is one time command. Note :- Re-running this command will override your changes and reset PWA template changes.
or to run this template project we have created one file testrunner.js. If you want to run sample page woith all PWA features. Run following command :-
For all configurations, we are using file named "pwa.config.js". Modify this file to reflect your changes as per your project requirements That's it, that's all there is to it. Enjoy!
By ABC Corp - If you find this code useful, and feel like thanking me for providing it, please consider making a purchase from abc. You can find information on many different topics on my personal blog. Learn about all of my publications at ABC Books.