Tobias L
Tobias L
Trying to repoduce this issue. Dont know if it has something todo with yarn workspaces and a plugin which uses typescript and composition-api. If i can reproduce the issue, i...
Fixed my problem by adding noHoist in my root package.json. Then delete all node_modules and yarn.lock. ``` "workspaces": { "packages": [ "packages/*" ], "nohoist": [ "**/fork-ts-checker-webpack-plugin", "**/fork-ts-checker-webpack-plugin/**" ] }, ```
> @lowbits What is your node version? v15.7.0
But i have now this problem ``` ERROR in ./.nuxt-storybook/components/index.js Module build failed (from /Users/_/git/_/node_modules/babel-loader/lib/index.js): SyntaxError: /Users/_/git/_/packages/storefront-example/.nuxt-storybook/components/index.js: Unexpected token, expected "," (15:31) 13 | export { default as SideNavigation }...
Okay, clone this [repo](https://github.com/lowbits/monorepo-nuxt-app-typescript-tailwind-composition-api-boilerplate), create an `Logo.stories.ts` in ``packages/nuxt-composition-api-storybook/components``` with ``` import { storiesOf } from '@storybook/vue' import Logo from '~/components/Logo.vue' storiesOf('Logo', module).add('default', () => ({ components: { Logo },...
This Error only occurs when ProductCard.stories.ts start with uppercase letter. ``` ERROR in ./.nuxt-storybook/components/index.js Module build failed (from /Users/_/git/_/node_modules/babel-loader/lib/index.js): SyntaxError: /Users/_/git/_/packages/storefront-example/.nuxt-storybook/components/index.js: Unexpected token, expected "," (15:31) 13 | export {...
Yeah, dont use nuxt-components auto import, it is better for performance reasons anyway.
Would also be interested in the progress, if not maybe; i will find some time 🤙
@JoeyJanson yes, i would love to have a a look :)
@JoeyJanson can we help you out in a way? :)