Using Netlify GoTrue JS with Vue

Netlify Status

Deploy to Netlify

This is a working example showing how to use Netlify's GoTrue JS library with VueJS. It accompanies the blogpost on the same topic, you can find that here.

Project setup

yarn install

Configuring Identity

Note that using Identity with GoTrueJS requires you to deploy your site Netlify and enable Identity in Netlify's app dashboard. Also, be sure to change the identity URL in src > state > modules > auth > state.js to a custom link or the default link netlify deploys your site to.

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Lints and fixes files

yarn run lint