blob: efdda8b84e7931bb068ec5066b3fe517e2ce5b49 [file] [log] [blame]
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import '../common.dart';
part 'web_angular.g.dart';
/// A generator for an Angular 2 application.
class WebAngularGenerator extends DefaultGenerator {
WebAngularGenerator()
: super('web-angular', 'AngularDart Web App',
'A web app with material design components.',
categories: const ['dart', 'web']) {
for (var file in decodeConcatenatedData(_data)) {
addTemplateFile(file);
}
setEntrypoint(getFile('web/index.html'));
}
}