ff-core-lib
v1.0.0
Published
FastForward.ai - Core Component Library
Downloads
4
Readme
storybook-vue-typescript
This shows how to use Storybook alongside Vue with Typescript.
Project setup
yarn
# or npm i
Storybook
yarn run storybook
# or npm run storybook
How I got here
- Install Vue CLI
- Create a Vue Project with Typescript and Babel
- Add Storybook.js
- Add
@storybook/preset-typescript
- Apply a patch removing
babel-preset-vue
from the Storybook code. This patch is automatically run via apostinstall
hook. Maybe some day this won't be needed anymore. - Profit!