UNPKG
angular-webpack-quickstart
Version:
latest (0.1.2)
0.1.2
Angular QuickStart with Webpack 2 - source from the documentation.
angular-webpack-quickstart
/
src
/
app
/
app.component.ts
8 lines
(6 loc)
•
235 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{
Component
}
from
'@angular/core'
;
@Component
({
selector
:
'my-app'
,
template
:
`<style>
${
require
(
'../styles.scss'
)}
</style>
${
require
(
'./app.component.html'
)}
`
, })
export
class
AppComponent
{ name =
'Angular'
; }