Build a greeter app
Building a Greeter app
Step 1: Create an app with the title "Greeter". Run the following command and provide the information it is looking for.
Step 2: App is created now. Go and install it.
Step 3: The app is installed but it doesn't do anything because we haven't written any code to make it do something. Let's add a button in the main navigation that greets the user
Create a component
greeter/components/GreeterButton.tsx
- You can name it whatever you want.Import this component in
Shell.tsx
and add it wherever you want to so that the button is available on all pages.
That's it. You now have a fully functional Greeter app. This is the simplest possible demonstration of how you can build an app and what it can do. There are simply no restrictions on what an app can achieve.
Last updated