skip to Main Content

i am very new to React and Remix. I wrote my command like % npx create-remix@latest but i was expecting that it is gonna ask me that i want typescript or javascript. But it never asks. I just know javascript and react.

I expect to have a solution

2

Answers


  1. npx create-remix@latest
    

    This will create a default starter app using TypeScript.

    If you want to create a Remix Javascript app, use the javascript template:

    npx create-remix@latest --template remix-run/remix/templates/remix-javascript
    

    Source: https://thevalleyofcode.com/remix/1-create-your-first-remix-app

    You can see in this article that there are also other templates which can be used

    Login or Signup to reply.
  2. From Remix documentation on templates and stacks:

    If you run create-remix without providing the –template option, you’ll get a basic template using the Remix App Server.
    npx create-remix@latest
    Copy code to clipboard
    If you are not interested in using TypeScript, you can install the simpler Javascript template instead:
    npx create-remix@latest --template remix-run/remix/templates/remix-javascript
    This is a great place to start if you’re just looking to try out Remix for the first time. You can always extend this starting point yourself or migrate to a more advanced template later.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search