this post was submitted on 27 Aug 2023
7 points (88.9% liked)

Rust

6035 readers
4 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Day 22 of #100daysofcode
React:
๐ŸŒ Importance of Keys in React
๐ŸŒ Added final touch to the Tic-Tac-Toe game, still figuring out deployment.

If anyone knows how to deploy react code, PLEASE HELP!!

@rust :

๐Ÿฆ€Cargo - The Package manager of Rust.
๐Ÿฆ€Cargo.toml --> Config files for Rust like JSON.
๐Ÿฆ€Cargo run, cargo build, and cargo check commands and uses.
๐Ÿฆ€Started making a guessing game in Rust as a hands-on Project.

Follow for a Crab ๐Ÿฆ€ --> @0xsaksham

you are viewing a single comment's thread
view the rest of the comments
[โ€“] jvisick@programming.dev 1 points 1 year ago* (last edited 1 year ago) (2 children)

https://docs.netlify.com/configure-builds/overview/?#basic-build-settings

You just need to configure your build command and most likely your publish directory. Netlify honestly makes it really easy.

The build command is whatever youโ€™d type in your terminal to compile your react app, and the publish directory is wherever your build command creates your static assets.

[โ€“] 0xsaksham@mastodon.social 1 points 1 year ago

@jvisick I'll try thanks ๐Ÿ™

[โ€“] chovekoid@mastodon.social 1 points 1 year ago (1 children)

@jvisick @0xsaksham

The command you need is:

$ npm uninstall react

๐Ÿ˜‚

[โ€“] 0xsaksham@mastodon.social 1 points 1 year ago (1 children)
[โ€“] chovekoid@mastodon.social 1 points 1 year ago (1 children)
[โ€“] chovekoid@mastodon.social 1 points 1 year ago

@0xsaksham @jvisick

then also uninstall typescript and you're good to go ๐Ÿ˜‰