Skip to content

Repository files navigation

web-template

Web-only starter for Platform Blocks — a React Native Web single-page app built with Expo. Every component renders with the same API it has on iOS and Android, so your code stays portable if you ever go native.

Use this template

Click Use this template on GitHub to create your own repository from it, or scaffold directly:

npx create-expo-app@latest my-app --template https://github.com/platform-blocks/web-template

Get started

npm install
npm run web

Build for production:

npx expo export --platform web

The SPA lands in dist/, ready for any static host.

What's inside

  • @platform-blocks/ui with all required peer dependencies installed
  • PlatformBlocksProvider wired up in App.tsx — theming, dark mode (follows the OS setting), overlays all work out of the box
  • TypeScript in strict mode

Learn more

License

MIT

About

Web-only starter for Platform Blocks — a React Native Web single-page app built with Expo

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages