SINGLE DOHAR COLLECTION TO STAY IN LUXURY AND COMFORT

Nothing beats the gentle touch of a premium dohar when it comes to boosting the environment of your bedroom. The single bed dohar set by Trance Home Linen stands out among the countless alternatives…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




2020 Bash Scripts for React and Git

FOLLOW ME ON GitHub or any other Social Media platform @skylerwebdev

Asks for an app name and creates it in the current folder
2. Installs react-router and react-router-dom
3. Creates a file / folder structure:

•`configs/AppRouter.jsx`
• `configs/PrivateRoute.jsx`
• `components/reuse/NavBar.jsx`
• `components/pages/Header.jsx`
• `components/pages/Footer.jsx`
• `pages/user/Home.jsx`
• `pages/user/Contact.jsx`
• `pages/user/About.jsx`
4. Writes the Routes for the pages and puts content into each of them
5. Rewrites the App.js file to contain:
• `<Header />`
• `<AppRouter />`
• `<Footer />`
6. Rewrites index.js to wrap the App component in BrowserRouter

1. Asks for branch name
2. Creates a new branch
3. Sets the upstream for the branch

1. Asks for a Commit message
2. Adds files
3. Commits files with commit message
4. Pushes files to current branch as long as the upstream is set

- Digs down deep to remove all node modules folders (these files take up a lot of hard drive space and are only needed when you are working on the application)

Add a comment

Related posts:

How to Unload Container Ships in the Harbour

Ever been to the harbour and seen these massive containers being unloaded from ships? It is a remarkable sight and while it may seem to be a simple enough process, it, in fact, requires both…

8 Sins of Global Recession and How to Avoid Them

In times of global recession, businesses and individuals alike are faced with a number of challenges. Economic downturns can be difficult to navigate, but there are certain sins that can make the…

My Experience of Travelling to Hong Kong

Travelling to Hong Kong has been one of the most exciting experiences of my life. As a bustling city that never sleeps, I was amazed by the vibrancy and energy that the city has to offer. From its…