question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nuxt example problem

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
cbaxter713commented, Dec 1, 2018

I’m in the same boat. No luck getting vue-styleguidist to run on a current nuxt project. Any help would be greatly appreciated!

0reactions
elevatebartcommented, Dec 4, 2018

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found