---
title: "Comment by David on \"Using Storybook with Expo Router v2, SDK 49 & TypeScript\" | Hashnode"
description: "Thanks for the guide! I recently created a new project with expo-router and I was confused with the app/ folder One suggestion tho my launch script looks like t"
url: "https://hashnode.com/posts/using-storybook-with-expo-router-v2-sdk-49-typescript/64b022fe0ba7115b2af1d9ce/comment/6529464d2f8d4e00663bb3fe"
---

[Discussion](https://hashnode.com/posts/using-storybook-with-expo-router-v2-sdk-49-typescript/64b022fe0ba7115b2af1d9ce)

Comment [Using Storybook with Expo Router v2, SDK 49 & TypeScript](https://hashnode.com/posts/using-storybook-with-expo-router-v2-sdk-49-typescript/64b022fe0ba7115b2af1d9ce)

[David](https://hashnode.com/@flexbox)

[Oct 13, 2023](https://hashnode.com/posts/using-storybook-with-expo-router-v2-sdk-49-typescript/64b022fe0ba7115b2af1d9ce/comment/6529464d2f8d4e00663bb3fe)

Thanks for the guide!

I recently created a new project with expo-router and I was confused with the app/ folder

One suggestion tho

my launch script looks like this

```
"storybook": "sb-rn-get-stories && EXPO_PUBLIC_STORYBOOK_ENABLED='true' expo start",
```

and the index.tsx page

```
const storybookEnabled = process.env.EXPO_PUBLIC_STORYBOOK_ENABLED;
```

I don't have `.env` file, no need to manually edit, it's faster to swap between the app or the storybook with

```
yarn start
yarn storybook
```

[Mauro Garcia](https://hashnode.com/@mauro-codes)

[Oct 13, 2023](https://hashnode.com/posts/using-storybook-with-expo-router-v2-sdk-49-typescript/64b022fe0ba7115b2af1d9ce/comment/6529464d2f8d4e00663bb3fe#reply-652951ead2fa06034fe34a68)

Glad to help, David! And thanks for your comment about the alternative. I implemented the .env file that way for 2 main reasons: 1 - It works on any OS, including Windows 2 - I wanted to experiment with the new Expo env variables support

Adding the env flags directly in the package.json may be convenient, but I'll need to use cross-env or something similar so it can work on Windows.
