Innlegg

Getting TypeScript Knockout and Webpack together

I started the road to front end development and NodeJs npm some moth ago in a project working mostly with React es6. The project was already set up using this  https://github.com/facebookincubator/create-react-app . I wanted to check out to use other frameworks like Angular or Knockout. I have some experience with knockout from before, but have never tried and set it up with TypeScript and npm. I found this nice tutorial on how to set up knockout and TypeScript and based my set up on that https://www.typescriptlang.org/docs/handbook/knockout.html . The next thing I wanted to do was to it up to use webpack to bundle things up. I'm new to webpack so the concept of loaders etc is new to me. This was not so easy I tried different things but I did not get it to work. But thanks to  https://blog.indivirtual.nl/mvc-knockout-typescript-webpack-starter-project/  i found some hints to how to set it up. Basically I was not loading knockout correctly webpack did not know what to do...
Nylige innlegg