Closed udisun closed 3 years ago
Look at the Transpiling section in the docs. there are ways to fix it for SSR, also at Nuxt.
I have already looked at it the docs does not include any info on nuxt but from the official nuxt docs:
and already added the relevant lines before reporting this issue:
build: {
analyze: process.env.NODE_ENV !== 'production',
extractCSS: process.env.NODE_ENV === 'production',
transpile: ['vuex-composition-helpers'],
},
I don't see how npm install is related to the transpile that happens on the webpack build phase
Oh it looks like there are conflicts with the peer dependencies.
I think I'll remove them from the package since vue added several ways to retrieve the composition api package. Can you suggest a PR without the peer dependencies? (Also if you can check locally if it will work for you that way - it will be great!).
@davidmeirlevy done: https://github.com/greenpress/vuex-composition-helpers/pull/38
Thanks!
trying to run install getting dependancy tree issues: