
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@dev-engage/engage-ionic
Advanced tools
The PWA Toolkit is a starting point for building Progressive Web Apps using Ionic and Stencil. This combination of tools gives you the ability to build a fast, efficient PWA out of the box.
Note: This project is Beta and uses a beta release of @ionic/core
.
For more info check out our homepage!
@ionic/core
for the UI.To start building, clone this repo to a new directory:
npm init stencil ionic-pwa
To build for production, run:
npm run build
A production build includes:
Apps should be hosted on through HTTPS, and if possible, through a provider that supports HTTP2. One provider that does support this is Firebase Hosting.
We recommend setting up HTTP2 Push on Firebase. H2 Push may sound complicated, but it's actually a simple concept. To learn about it, take a look at this article.
To set this up for my-app
:
npm run build
http-server www
.sw.js
file, these are the files you want to H2 push.Service workers are generated via the Stencil build tool. For more information on how they can be configured, see the Service Worker docs.
For most cases, you'll want to develop your app without generating a Service Worker. But if you'd like to test out Web Push Notifications or Background Sync, you'll need to have one generated. To generate a Service Worker during dev builds, we've added the npm script:
npm run start.sw
This will start a dev build and generate a Service Worker as well.
To run the unit tests once, run:
npm test
To run the unit tests and watch for file changes during development, run:
npm run test.watch
We recommend using https://www.webpagetest.org/easy with the Run Lighthouse Audit
option turned on.
This will give you an in depth look into your app's load performance on the average device connected to the average network.
For more info on how to use webpagetest check out this article
FAQs
Engage ionic extends the amazing ionic component library
The npm package @dev-engage/engage-ionic receives a total of 0 weekly downloads. As such, @dev-engage/engage-ionic popularity was classified as not popular.
We found that @dev-engage/engage-ionic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.