One of the interesting features of Aurelia 2 is the use of different file types such as Markdown as View along with HTML. To do this, follow the steps below:
Create a skeleton with Webpack as a bundler and add markdown-loader configuration at the end of therules as following:
For this setting to work, you need to install the related package as well.
npm i markdown-loader -D
As a final step, we need to introduce the .md files into the TypeScript so find the resource.d.ts under src folder and append the following code into it.