node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

ng2-loader

ng2-loader (forked from vue-loader)

Angular2 component loader for Webpack.

WORK IN PROGRESS! Do not use

It allows you to write your components in this format:

<template id="hello-world">
    <h1>Hello World</h1>
</template>
 
<script>
    import {Component} from 'angular2/core';
 
    @Component({
        selector: 'hello-world'
    })
    export default class{
    }
</script> 
 
<style>
    hello-world{
        display: block;
        text-align: center;
        color: blue;
    }
</style>