-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pwa in boilerplate template #262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good.
Why dont we add this as an option to the wizard? same as we do for Surf? We auto install bunch of things that are not needed for a non-PWA
Co-authored-by: Maayan <[email protected]>
Co-authored-by: Maayan <[email protected]>
6fe8ad8
to
f8b006d
Compare
@0xmaayan i think PWA is always good to have |
Ok, then lets add dev instructions to the README file and to the template page on Learn? |
@0xmaayan https://github.com/aptos-labs/aptos-learn/pull/443 |
@@ -22,6 +22,7 @@ To get started with the Boilerplate template and learn more about the template f | |||
- Aptos TS SDK | |||
- Aptos Wallet Adapter | |||
- Node based Move commands | |||
- [Vite-pwa](https://vite-pwa-org.netlify.app/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we add a section explaining the end user
- what is PWA briefly
- once they have the boilerplate generated locally, what should they do?
- how to deploy it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated doc on learn
const nextConfig = { | ||
import withPWAInit from "@ducanh2912/next-pwa"; | ||
|
||
const withPWA = withPWAInit({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this being used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed, it's default to public
anyway
Tested on both iOS and Android