First install the cli with
1npm i -g @vitro/cli
Now go inside your react project directory and create a default config with
1vitro init
The command above creates a vitro.config.js
config file and some example stories
1// vitro.config.js2module.exports = {3globs: ['./**/*.story.tsx'], // glob to your stories4}
Now you can start the server with
1vitro dev
This will start a web server on localhost:7007 with your stories