nuxt example problem
See original GitHub issueI’m trying to use vue-styleguidist with nuxt. I cannot use it with my nuxt project created with create-nuxt-app.
Then I decided to try nuxt example directly:
git clone https://github.com/vue-styleguidist/vue-styleguidist.git
cd vue-styleguidist/examples/nuxtjs
npm install
npm run compile
npm run start:nuxtjs
I got following error:
./lib/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Plugin/Preset files are not allowed to export objects, only functions. In vue-styleguidist/node_modules/babel-preset-stage-2/lib/index.js
Did I miss something, or could someone please provide steps to use vue-styleguidist with a nuxt project.
Thanks a lot.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Some Problems I Had in Nuxt JS (and how to solve them)
First problem: "heap limit allocation failed - javascript heap out of memory" After we found out, it turns out that this problem can...
Read more >Hello World - Nuxt
In this example: pages/index.vue and pages/about.vue show how Nuxt server renders the page on first load or on hard refresh and renders the...
Read more >7 Problems you can avoid by using Nuxt.js for your next Vue app
Problem #6: Vue applications on initial load can be slow. With Nuxt.js if you choose to render your application universally or statically, the ......
Read more >7 Problems you can avoid by using Nuxt.js for your next Vue app
So maybe you'd like to use Vue for your next app? There are a few problems you might run into. In this video...
Read more >Issues · nuxt/nuxt.js - GitHub
Issues list ; Nuxt 2 : Error layout not rendered Server Side · #10868 opened 5 days ago ; Edge side Includes (ESI)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m in the same boat. No luck getting vue-styleguidist to run on a current nuxt project. Any help would be greatly appreciated!
@cbaxter713, this is linked to #242 I believe. We are missing some unit tests on rsg-components. I shall create them 😉. Just fixed it thanks to @yu-cover