In this page we will look at how to create a new Bon5R.
For everything to run smoothly, your system must already have the following dependencies
npm
yarn
To install npm on your system you can run the following command:
npm install npm@latest -g
To install yarn on your system you can run the following command:
npm install --global yarn
To do this, we can use the create-bon5r-app
package.
Run the following command in your terminal:
yarn create bon5r-app my-app && cd my-app
This will automatically setup a new Bon5R in your current directory.
To start the development server, we can run the following:
yarn dev
And thats it! 🎉 you can view the website at http://localhost:3000. The website hot-reloads ⚡️ when you change the code so you don't have to constanly refresh.
Installation Demo