Open OrandiH opened 1 year ago
Here is a code snippet example of using the cli spinner library ora.
import ora from 'ora';
const spinner = ora('Installing dependencies!');
spinner.color = 'yellow';
spinner.spinner = 'bouncingBall'
spinner.start();
setTimeout(() => {
spinner.succeed('Finished!');
}, 1000);
Add a spinner to the project creation process so that when a user executes the command to create-project (for web or mobile), they get prompted that the npm installation process is happening or has finished. See link here -> https://github.com/sindresorhus/ora