Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div>
- </div>
- </template>
- <script>
- import axios from 'axios'
- const url = 'http://localhost:8080/data/releases.json';
- export default {
- name: 'Releases',
- data () {
- return {
- releases: []
- }
- },
- mounted () {
- axios.get(url).then(response => {
- console.log(response.data)
- })
- .catch(e => {
- console.log(e)
- })
- }
- }
- </script>
- <style scoped>
- </style>
Add Comment
Please, Sign In to add comment