Skip to content

How can I add Netlify Identity Widget #11

Answered by Knogobert
shoaiyb asked this question in Q&A
Discussion options

You must be logged in to vote

This Issue #8 is probably related to your question.

There's also some information in the Readme:

... Add the 'netlify-identity-widget' to nuxt.config.js under head, Follow the advice here

But to be short to the point:
Add this to your nuxt.config.js > head (on line 55):

script: [{
  href: 'https://identity.netlify.com/v1/netlify-identity-widget.js'
}],

OR

Add this <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> before the </head> of an index.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Knogobert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants