diff --git a/src/app/examples/example-data.ts b/src/app/examples/example-data.ts index 2847fcf41..a1fc1c883 100644 --- a/src/app/examples/example-data.ts +++ b/src/app/examples/example-data.ts @@ -19,7 +19,7 @@ export class ExampleData { constructor(example: string) { if (example && EXAMPLE_COMPONENTS[example]) { - this.examplePath = `/app/examples/${example}/`; + this.examplePath = `/assets/plunker/examples/${example}/`; // TODO(tinayuangao): Do not hard-code extensions this.exampleFiles = ['html', 'ts', 'css'] .map((extension) => `${example}-example.${extension}`); diff --git a/tools/plunker-example.sh b/tools/plunker-example.sh new file mode 100755 index 000000000..8c67508ff --- /dev/null +++ b/tools/plunker-example.sh @@ -0,0 +1,2 @@ +#!/bin/bash +cp src/app/examples src/assets/plunker -r