Nuxt.js project
# install dependencies
$ 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,
$ yarn dev
For detailed explanation on how things work, checkout the Nuxt.js docs.