Blogs
    11 posts
Use a configured fetch client for authorized requests in Aurelia
When working with a SPA framework like Aurelia you will make a lot of HTTP request to a backend, probably in the form of a (REST) API. In order to authenticate on the API you have to provide a Bearer Token in the Authorize header of each request. You could do this like this: ......
Aurelia Kendo UI Bridge with TypeScript and Webpack 3
Kendo UI is a very popular toolkit at our company and I wanted to see if I could easily integrate Kendo UI to an Aurelia project by using the aurelia-kendoui-bridge. I decided to use the new Aurelia-CLI to set up an Aurelia project using TypeScript and Webpack. After creating the Aurelia project I continued with installing the aurelia-kendoui-bridge. Although the documentation is quite extensive, because of all the possible combinations of transpilers, loaders and project templates, it can be difficult to find the correct method of adding the aurelia-kendoui-bridge to a new project. After some trial and error I thought I had setup everything correctly and was now ready to add the first Kendo component to a page. The Kendo combobox I added resulted in some jQuery issues that needed to be resolved. Eventually I got everything working and I thought it might be useful to share the steps I took to setup an Aurelia project with TypeScript and Webpack and install and use the aurelia-kendoui-bridge. ......