Skip to content
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

typescript support #802

Closed
GopherJ opened this issue Mar 12, 2021 · 10 comments
Closed

typescript support #802

GopherJ opened this issue Mar 12, 2021 · 10 comments
Assignees

Comments

@GopherJ
Copy link

GopherJ commented Mar 12, 2021

Hi, it'll be good to have typescript

@mrrobot16
Copy link

It be amazing to have typescript support for the react template :)

@kulame
Copy link
Contributor

kulame commented Nov 21, 2021

i also need it

@AhanR
Copy link

AhanR commented Nov 7, 2022

I'd be interested in creating the typescript extension. Is anyone else working on this issue?

@gagdiez
Copy link
Collaborator

gagdiez commented Nov 7, 2022

@AhanR nobody is working on it as far as I know

@AhanR
Copy link

AhanR commented Nov 7, 2022

Amazing, This will be my first PR, could you walk me through how could I go about it?
Here's how I understand it so far :

  • create a fork
  • make changes in the template folder
  • and then push to the repo?

@AhanR
Copy link

AhanR commented Mar 27, 2023

@gagdiez could you help me out on exactly how to set this up? I know the libraries that I need to use but I am used to using Vite on my projects, how do I go about setting up the new template for react with typescript? Do I create a new folder under front-end?

@mrrobot16
Copy link

Amazing, This will be my first PR, could you walk me through how could I go about it? Here's how I understand it so far :

  • create a fork
  • make changes in the template folder
  • and then push to the repo?

@AhanR Amazing man, this is gonna be very useful for the NEAR Community.

@AhanR
Copy link

AhanR commented Apr 6, 2023

Hey, I was reading through the readme and saw the developer guidelines and I still cannot figure out how to set up my environment for this project.

I first cloned the repo, and duplicated the react folder under templates/frontend and ran npm i and npm run start. This produces an error message

PS D:\Webdev\cloned repo\create-near-app-typescript-support\templates\frontend\react-ts> npm start

> my-near-app@1.0.0 start
> ./start.sh

'.' is not recognized as an internal or external command,
operable program or batch file.

Can someone please help me set up the development environment? Thanks.

@chadoh
Copy link
Contributor

chadoh commented Apr 6, 2023

@AhanR you may want to try Windows Subsystem for Linux. This development setup has not been tested on Windows, and that probably won't be the last gotcha you run into.

@gagdiez
Copy link
Collaborator

gagdiez commented May 25, 2024

this issue had been stalled long enough, thus proving we don't have the bandwidth to take on it

However, we have decided to use Next.js for the frontend, which is industry standard, and I assume has guides on how to use typescript

@gagdiez gagdiez closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants