dolthead / ng16ion7pwa

Angular 16 Ionic 7 PWA with asset generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ang41923

Angular 16 Ionic 7 PWA with asset generator

npm i -g @ionic/cli@latest

ionic start ng16ion7 tabs --type=angular

cd ng16ion7

npm i -g @angular/cli@next

ng update @angular/core@next @angular-devkit/build-angular@next --force

ng add @angular/pwa@next --force

rm ./src/assets/icons/*.png (the angular logo icons)

rm -rf node_modules

npm i --force

add custom app icon.png and splash.png to /src/assets

npm i @capacitor/assets --save-dev --force

cd ./src/assets && npx @capacitor/assets generate --assetPath . && cd ../..

edit manifest.webmanifest icon paths to use ../../assets/icons/*.webp

ionic build

npx http-server-spa www ./index.html 8100

About

Angular 16 Ionic 7 PWA with asset generator


Languages

Language:TypeScript 49.5%Language:SCSS 33.5%Language:HTML 11.4%Language:JavaScript 5.6%