Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

add info on stackblitz #2560

Merged
4 commits merged into from
May 4, 2018
Merged

add info on stackblitz #2560

4 commits merged into from
May 4, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 1, 2018

because git hates me and i'm tired

incorporates all feedback from #2529

Fixes #2523

@ghost ghost requested a review from arthurevans May 1, 2018 23:28
Kate Jeffreys added 2 commits May 1, 2018 18:56
@ghost ghost assigned arthurevans May 2, 2018
@ghost
Copy link
Author

ghost commented May 3, 2018

needs lgtm @arthurevans

index.html {.caption}
```
<!-- Include WebComponents polyfills -->
<script src="./node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to be webcomponents-bundle.js (or webcomponents-loader.js? I think we'll be able to use the loader here). /cc: @e111077 who's been working with stackblitz, @kevinpschaaf who should know stuff just because.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think loader is more-correct?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was bundle?

<!-- toc -->

[StackBlitz](https://stackblitz.com) is an online editor for web projects. You can use StackBlitz to prototype and preview Polymer elements.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a quick summary of what StackBlitz does that other online editors don't?

In particular, it transpiles ES6 to ES5 so the samples can run on any browser we support; and that it lets you install dependencies using npm and supports node-style module resolution, so you can preview code without a build step.

You can use Polymer 3 in other online editors (like Plunker or jsbin), but the code may not be transpiled for older browsers, and you may need to use non-standard paths to import dependencies.

I might not have said that very well. But, um. I think that's why we chose it instead of using other things.

Copy link

@arthurevans arthurevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions/questions, otherwise LGTM.

Not sure this belongs after the glossary, but I don't have a stronger candidate for it, either. I think I understand why you didn't put it under Tools.

@ghost ghost merged commit 3146ad5 into master May 4, 2018
@ghost ghost deleted the add-stackblitz-info branch May 5, 2018 02:49
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants