---
title: "Discussion on \"React PWA with TypeScript using CRA or Vite\" | Hashnode"
description: "Discussion on \"React PWA with TypeScript using CRA or Vite\". Progressive Web Apps (PWA) are websites with some code that allows users to download it on their devices (either desktop or mobile) and use it as a native app.\nOf course, there are some limitations to what a PWA can do compared with the native apps (..."
url: "https://hashnode.com/posts/react-pwa-with-typescript-using-cra-or-vite/63d8c4df2f89ee6dfc89bd71"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React PWA with TypeScript using CRA or Vite](https://davidschinteie.hashnode.dev/react-pwa-with-typescript-using-cra-or-vite?utm_source=hashnode&utm_medium=feed)

Progressive Web Apps (PWA) are websites with some code that allows users to download it on their devices (either desktop or mobile) and use it as a native app. Of course, there are some limitations to what a PWA can do compared with the native apps (...

Jan 31, 2023 · 6 min read · davidschinteie.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#vite](https://hashnode.com/tag/vite)
-   [#pwa](https://hashnode.com/tag/pwa)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#create-react-app](https://hashnode.com/tag/create-react-app)

## Written by

[David Schinteie](https://hashnode.com/@fairplay)

@fairplay · Bucharest, RO

  
[View profile](https://hashnode.com/@fairplay)

Frontend Developer | JavaScript | React

As a Software Developer with over 7 years of experience in web development, I possess a high level of proficiency and creativity. I am dedicated to continuously improving my skills and knowledge in order to excel in my field.

## Responses 1

Markdown supported · ⌘↵ to post

[Arsalan Uddin](https://hashnode.com/@ArsalanU)

[Feb 7, 2023](https://hashnode.com/posts/react-pwa-with-typescript-using-cra-or-vite/63d8c4df2f89ee6dfc89bd71/comment/63e28db1cecce1c954ae019d)

Hey, I am getting an error Manifest: property 'scope' ignored, URL is invalid. Manifest: property 'src' ignored, URL is invalid. (Vite React)

Is any solution to it also it is showing in desktop mode on the mobile

[David Schinteie](https://hashnode.com/@fairplay)

[Feb 16, 2023](https://hashnode.com/posts/react-pwa-with-typescript-using-cra-or-vite/63d8c4df2f89ee6dfc89bd71/comment/63e28db1cecce1c954ae019d#reply-63edd2d89612405e16d13a77)

For the start\_url, please add the full url with the https enabled, like: `[example.com](https://example.com/)` instead of `example.com`

[David Schinteie](https://hashnode.com/@fairplay)

[Feb 16, 2023](https://hashnode.com/posts/react-pwa-with-typescript-using-cra-or-vite/63d8c4df2f89ee6dfc89bd71/comment/63e28db1cecce1c954ae019d#reply-63edd6ce46e2f1644c4f0554)

Also, for showing desktop mode on mobile, you can try to remove the following line from `index.html`: `<meta name="viewport" content="width=device-width, initial-scale=1.0" />`

This will prevent your site from sizing on mobile devices.

Not sure if this is what you're looking for 🤷‍♂️

[Arsalan Uddin](https://hashnode.com/@ArsalanU)

[Feb 18, 2023](https://hashnode.com/posts/react-pwa-with-typescript-using-cra-or-vite/63d8c4df2f89ee6dfc89bd71/comment/63e28db1cecce1c954ae019d#reply-63f11ed40e63a77a616fe36c)

[David Schinteie](https://hashnode.com/@fairplay) I will try it, Thanks for the reply
