After I set up my Django backend with django-cors-headers, I tried to access the api endpoint at http://127.0.0.1:8000/api from the front-end (which is served from http://localhost:8080) by a GET request. Read more 08 Jun 2019 - less than 1 minute read
Since a style tag without a scoped attribute is global in Vue.js, we can write a selector in the child component to style the parent component. Like below (Interactive Demo) Read more 19 Apr 2019 - less than 1 minute read
It’s wierd that Amplify does not yet support out-of-the-box email + password sign up, but it’s possible to implement with some configuration. Read more 19 Apr 2019 - less than 1 minute read
Symptom Read more 10 Apr 2019 - less than 1 minute read
sys.path by default does not need to includes current running position, which can be quite confusing and often leads to ModuleNotFoundError. Read more 20 Nov 2018 - 1 minutes read