New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuxt generate --development #4117

Closed
joernroeder opened this Issue Oct 14, 2018 — with CMTY · 3 comments

Comments

Projects
None yet
2 participants

joernroeder commented Oct 14, 2018 — with CMTY

What problem does this feature solve?

I'm having different behavior in my static build compared to the server side rendered version and debugging that without devtools enabled is hard. also validating vuex store e.g. to see if payloads got passed in correctly would be way easier.

What does the proposed changes look like?

NODE_ENV should be regcognized and used if found. nuxt generated --development could also build in dev mode

This feature request is available on Nuxt community (#c7973)

@cmty cmty bot added the cmty:feature-request label Oct 14, 2018

@manniL

This comment has been minimized.

Member

manniL commented Oct 23, 2018

Hey 👋

Add the following part to your nuxt.config.js to enable debugging:

export default: {
  vue: {
    config: {
      devtools: true
    }
  }
}

@manniL manniL closed this Oct 23, 2018

@manniL manniL reopened this Oct 23, 2018

@manniL

This comment has been minimized.

Member

manniL commented Oct 23, 2018

However, the --development idea is nice!

I think a PR for this (as the workaround is now known) would be neat ☺️

@manniL manniL changed the title from nuxt generate with dev tools enabled to nuxt generate --development Oct 23, 2018

@manniL

This comment has been minimized.

Member

manniL commented Nov 24, 2018

resolved by #4357

@manniL manniL closed this Nov 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment