An example of getting data from the dev.to API to display its own articles. Work with VueJS, fetch and the API v0 of dev.to (this version will be DEPRECIATED. See the post on DEV).
Note
Note
More projects like that ? Check this list.
Change this lines in the file src/components/devto.vue :
const USERID_DEVTO = '18254'
const USERNAME_DEVTO = 'thomasbnt'
Get your ID by using the website. Press F12, and on the body
element,
you have a data-user
attribute. This is your ID.
yarn install
yarn serve
yarn build
yarn lint