storybookjs/vue-cli-plugin-storybook

no-error when running storybook serve

KyrieChen opened this issue · 0 comments

Hi, thanks a lot for your plugin!

I create a test project with typescript by

vue create name

and add

vue add storybook

I make something error deliberately in my project by set

"experimentalDecorators": false

in tscofig.json.

When i run

npm run storybook:serve

my expection is log some WARNING like:

Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning

However, it log:
image

It will log error if i run

npm run serve

image

I want to catch the error and fix it in development.

Reproduction link

https://github.com/KyrieChen/vue-cli-ts-storybook-test

Version

  • @vue/cli:3.8.2
  • node: v8.15.0

OS

Window 10