Repository docs

konojunya

konojunya posted a new bug report

docs • 5 days ago

bug JWT sample code link is broken.

Version

1.4.0

Reproduction link

https://ja.nuxtjs.org/examples/auth-external-jwt/

Steps to reproduce

I think that the download site of DownGit will be displayed when pushing the download link of this page, but the link of GitHub displayed there is broken.

What is expected ?

A neat GitHub link of Auth External API (JWT)

What is actually happening?

It becomes 404 at the link destination of GitHub.

Additional comments?

I think that it should be this link.

https://github.com/ahadyekta/nuxt-auth-external-jwt

This link can be found in examples/auth-external-jwt.md of Nuxt/docs.

I will send you a Pull Request if you like.

Thanks.

c-flaherty

c-flaherty posted a new feature request

docs • 7 days ago

idea Info on modulesDir configuration option missing from documentation

What problem does this feature solve?

In certain cases, the nodemodules directory may not be a sibling to the nuxt.config.js configuration file, which by default causes path resolution issues with modules listed in the nuxt.config.js file as well as other modules such as 'postcss-import'. An example of such a use case is when using Yarn workspaces to build a monorepo. To resolve this, an undocumented configuration option 'modulesDir' may be used. By setting this field to the path of the nodemodules directory relative to the project directory, all path resolution issues are resolved.

What does the proposed changes look like?

Updates need to be made to the 'Configuration' section of both the 'Guide' and 'API' pages of the documentation to describe how the 'modulesDir' configuration option may be used.

MichaelJCole

MichaelJCole posted a new question

docs • 8 days ago

cmty error when filing issue

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

Atinux

Atinux posted a new feature request

docs • 13 days ago

idea Server-Side Caveats

What problem does this feature solve?

Avoid issues about known caveats with server-side rendering.

What does the proposed changes look like?

Add sections from:

dysol

dysol posted a new feature request

docs • a month ago

idea Proper documentation on how to include SDKs into Nuxt

What problem does this feature solve?

Streamline how developers include external SDKs into nuxt.

What does the proposed changes look like?

Right now, under FAQ https://nuxtjs.org/faq/google-analytics

It showed how to include google "sdk". However, the script is injected into <html> tag rather than <head> tag. Which is not ideal?

I hope to have proper docs on how to include popular sdks like - facebook, twitter.

Where do i insert the script? How do i initialize fb?

caoshining

caoshining posted a new question

docs • a month ago

Why Chinese documents are not the same as English documents

Why Chinese documents are not the same as English documents?

YogliB

YogliB posted a new bug report

docs • a month ago

bug The live demo for i18n doesn't work

Reproduction link

https://i18n.nuxtjs.org/

Steps to reproduce

Go to https://i18n.nuxtjs.org/

What is expected ?

A working example of Nuxt with i18n.

What is actually happening?

You get a 404.

frederickalcantara

frederickalcantara posted a new question

docs • 2 months ago

Nuxt installation process with the Vue-cli Version 3.0

When will the docs be updated to work with this version of vue-cli?

JFstandart

JFstandart posted a new question

docs • 2 months ago

Translate to Spanish

Translate to Spanish

Hi, I want to help translate the documents into Spanish,
Any recommendations or advice that you want to give me?

brandonaaskov

brandonaaskov posted a new question

docs • 2 months ago

Change "Starting From Scratch" to specify Vue CLI version?

The "Starting From Scratch" section in the installation guide (https://nuxtjs.org/guide/installation) assumes you've created a vue project with the [email protected]

Projects created with the new Vue CLI (@3.0.0-rc.2), with nuxt added on top, fail to build. The issue is that the new CLI uses Babel 7 plugins, and nuxt expects the Babel 6 variety of babel-plugin-transform-runtime.

Adding some kind of versioning language in the docs will help alleviate confusion for people setting up new projects.

methodbox

methodbox posted a new question

docs • 2 months ago

API Docs Don’t Render on iOS Correctly
  1. Don’t use GitHub if you want me to open issues somewhere else; I’m not signing up for yet another app and it isn’t explicitly stated to do so on your site.

  2. Your API docs have an issue here: https://nuxtjs.org/api

On iOS they render a single item from the API docs with an ellipses button in the upper right.

“Expanding” this button will show the rest of the docs.

I’m sorry if you “close this issue immediately” instead of fixing your site, but you’ve been informed.

primoz-k

primoz-k posted a new bug report

docs • 3 months ago

bug Following example for VueX store modules-mode throws "Cannot read property 'state' of undefined"

Version

1.4.0

Reproduction link

https://nuxtjs.org/guide/vuex-store#modules-mode

Steps to reproduce

I'm following an example for initiating store with modules-mode, but keep getting "Cannot read property 'state' of undefined" exception.

What is expected ?

TODO example should not break.

What is actually happening?

"Cannot read property 'state' of undefined" is thrown.

TrueMoein

TrueMoein posted a new question

docs • 3 months ago

why nuxt blocked iran ?

why we cant open nuxt.js website from iran?

katoto

katoto posted a new question

docs • 3 months ago

package.json error

"dev": "nodemon --watch *.js --exec 'node api.js'", error node api.js 多了个引号(A quotation mark)
success:
"dev": "nodemon --watch *.js --exec node api.js",

phiwut

phiwut posted a new bug report

docs • 3 months ago

bug Example "Live Demo" Links forward to ZEIT Login

Version

latest

Reproduction link

https://nuxtjs.org/examples/seo-html-head

Steps to reproduce

Click on Live Demo (or https://head-elements.nuxtjs.org/)

What is expected ?

Open Nuxt Example Live Demo page

What is actually happening?

Refers to ZEIT Login page

jasonc08

jasonc08 posted a new question

docs • 4 months ago

How to set breakpoints to debug the project in VS Code?

Could you provide any guidelines how to set up the debugging environment in the document?

rakuishi

rakuishi resolved the question #c87

docs • 4 months ago

Is Nuxt-server-store initialized every request?

I resolved this problem.

I used the following sample.
https://github.com/vuejs/vuex/blob/dev/examples/shopping-cart/store/index.js

This sample doesn't work on SSR mode.
I fixed it to use function instead of object.

related: https://github.com/nuxt-community/modules/issues/106

herrdu

herrdu posted a new question

docs • 4 months ago

TS2339: Property 'browser' does not exist on type 'Process'.

我写了下面打代码,就遇到了“TS2339: Property 'browser' does not exist on type 'Process'. ” 这个错误提示,应该怎么解决呢?

nuxt .png

rakuishi

rakuishi posted a new question

docs • 4 months ago

Is Nuxt-server-store initialized every request?

I have a question about nuxtServerInit action's behavior.

My understanding is that.
Nuxt-server-store is only initialized when the Nuxt-server is initialized.

So that, according to the document,
user data is updated every time if a request has req.session.user.
Nuxt-server pass user data to client.

On above understanding, I want to consider a following situation.

  1. Alice make a request, it has req.session.user, then, user data is updated on Nuxt-server.
  2. Alice's browser was passed Alice's user data.
  3. Bob make a request, it has no req.session.user, then, user data is not updated on Nuxt-server.
  4. Bob's browser was passed Alice's user data by Nuxt-server. because user data is not initialized.

I faced this situation on my project.
I think we should overwrite user data every time.

actions: {
  nuxtServerInit ({ commit }, { req }) {
    commit('user', req.session.user ? req.session.user : null)
  }
}
warriorBrian

warriorBrian posted a new question

docs • 5 months ago

document is not defined What to do in the end ???

I used:
import axios from axios
async asyncData(){ let res = await axios.get('API') }

This will cause an error: document is not defined!!!!!!!

I see the official document:if(process.browser) {……}

But I don’t know where to use them for flexible use!!!!!!!!!!

anxious!!!