nextjs-tailwind-ionic-capacitor-starter
dex-next
Our great sponsors
nextjs-tailwind-ionic-capacitor-starter | dex-next | |
---|---|---|
9 | 6 | |
1,546 | 27 | |
- | - | |
5.6 | 0.0 | |
about 1 month ago | about 2 years ago | |
TypeScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nextjs-tailwind-ionic-capacitor-starter
-
Solito – React Native and Next.js, Unified
This looks cool! If you’d like to have a single web-based codebase for iOS/android/pwa/etc using Next.js then you might like this approach using Capacitor: https://github.com/mlynch/nextjs-tailwind-ionic-capacitor-st...
The benefit over using RN for this is being able to use libraries like Tailwind on all platforms, etc
wow, that's a weird limitation.
The README says: "SSR is currently disabled for the Next.js app as the app will be fully client-side rendered for iOS and Android. This is a limitation we are working to address in a future update."
I guess it's because CapacitorJS pre-bundles the entire PWA for the App Stores:
"Of course, you also could load the app completely remotely by changing the server.url configuration for Capacitor to point to your SSR'ed Next.js app, but that has other challenges such as App Store approval if the app doesn't check the boxes for Apple to qualify it as an app that has enough native integration (at that point this is on you, not Capacitor)"
https://github.com/mlynch/nextjs-tailwind-ionic-capacitor-st...
But I don't understand why SSR would be disabled for the NextJS PWA on the web?
Maybe Max Lynch aka. @mlynch aka. @yesimahuman could provide some insight here.
-
Any recommendation to port a production SPA to Nextjs?
Max Lynch from Ionic has a great repo demonstrating this. He uses it to get Next to work with Ionic and Capacitor but the idea is essentially the same.
-
Next.js 12
Agreed! Next.js works great with this model! I’d recommend Capacitor over Cordova (similar but more modern). Here’s an example: https://github.com/mlynch/nextjs-tailwind-ionic-capacitor-st...
-
Build Mobile Apps with Tailwind CSS, Next.js, Ionic Framework, and Capacitor
If you're confused by all the project names and how they work together, don't worry, I'll break down each part of the stack each project is concerned with, along with some visuals and code samples demonstrating how all the projects work together. At the end I'll share a starter project with these technologies installed and working together that can form the foundation of your next app.
dex-next
- I built a pokedex
-
I made a Pokedex using NextJS and TailwindCSS. This is my first (serious) project. So any feedback is more than welcome.
This is the GitHub repo. Please leave a 🌟 because it keeps me going.
What are some alternatives?
Next.js - The React Framework
vike - 🔨 Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin.
supabase - The open source Firebase alternative.
entr - Run arbitrary commands when files change
ts-node - TypeScript execution and REPL for node.js
dapr - Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
swc-node - Faster ts-node without typecheck
sucrase - Super-fast alternative to Babel for when you can target modern JS runtimes
awayto - Awayto is a curated development platform, producing great value with minimal investment. With all the ways there are to reach a solution, it's important to understand the landscape of tools to use.
m3o - Serverless Micro Services
esbuild - An extremely fast bundler for the web
swc - Rust-based platform for the Web