docs: add new getting started guide (#27684)

PR Close #27684
This commit is contained in:
Brandon
2019-03-20 15:10:47 +00:00
committed by Jason Aden
parent e8768acacc
commit 12c9bd257d
137 changed files with 2662 additions and 671 deletions

View File

@ -39,6 +39,11 @@ BOILERPLATE_PATHS.testing = [...cliRelativePath, 'angular.json'];
BOILERPLATE_PATHS.universal = [...cliRelativePath, 'angular.json', 'package.json'];
BOILERPLATE_PATHS['getting-started'] = [
...cliRelativePath,
'src/styles.css'
];
BOILERPLATE_PATHS.ivy = {
systemjs: ['rollup-config.js', 'tsconfig-aot.json'],
cli: ['src/tsconfig.app.json']
@ -87,8 +92,11 @@ class ExampleBoilerPlate {
filePath => this.copyFile(boilerPlateBasePath, exampleFolder, filePath));
// Copy the boilerplate common files
BOILERPLATE_PATHS.common.forEach(
filePath => this.copyFile(BOILERPLATE_COMMON_BASE_PATH, exampleFolder, filePath));
const useCommonBoilerplate = exampleConfig.useCommonBoilerplate !== false;
if (useCommonBoilerplate) {
BOILERPLATE_PATHS.common.forEach(filePath => this.copyFile(BOILERPLATE_COMMON_BASE_PATH, exampleFolder, filePath));
}
// Copy Ivy specific files
if (ivy) {