Nuxt.js project
# install dependencies
$ npm install # Or yarn install
Create Twitter app and set callback url = http://127.0.0.1:3000/callback
server/index.js
- consumerKey: CONSUMER_KEY,
- consumerSecret: CONSUMER_SECRET,
$ npm run dev
For detailed explanation on how things work, checkout the Nuxt.js docs.
Author: ichiwa
Source Code: https://github.com/ichiwa/nuxt-twitter-auth
#vue #vuejs #nuxtjs #nuxt #javascript