GithubHelp home page GithubHelp logo

gotruejs-in-vue's Introduction

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

gotruejs-in-vue's People

Contributors

shortdiv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gotruejs-in-vue's Issues

Question on confirming accounts

Hi Divya,

Thanks so much for this codebase and the tutorial!

I got a bit stumped trying to figure out how the "Confirm your email address" functionality works.

Is there a way to redirect users to a your account has been confirmed page?

I'm mainly confused about how attemptConfirmation dispatches attemptLogin and attemptLogin then dispatches attemptConfirmation: https://github.com/shortdiv/gotruejs-in-vue/blob/master/src/state/modules/auth/actions.js

I'm sure you're busy but if you do have more light to shed on this matter would be greatly appreciated!

Thanks again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.