googlearchive / chromedeveditor

Chrome Dev Editor is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps, in JavaScript or Dart. (NO LONGER IN ACTIVE DEVELOPMENT)
BSD 3-Clause "New" or "Revised" License
2.92k stars 413 forks source link

[Polymer Designer] Attempt to update to support Polymer 1.0.0 #3977

Open ussuri opened 9 years ago

ussuri commented 9 years ago

As suggested by @m4b. I'd predict that this will have only a limited success at best, since Polymer Designer has been long abandoned by the Polymer team, and highly likely won't work with Polymer 1.0.0.

"Given that polymer 1.0 was just released, as well as polymer-starter-kit, might be better to adapt/integrate with the import pattern of the latter?

For example, the current structure looks something like:

|.
├── app
│   ├── elements
│   │   ├── app-theme.html
│   │   ├── elements.html
│   │   ├── sweet-element
│   │   │   └── sweet-element.html
│   │   └── my-app.html
│   ├── images
│   ├── index.html
│   ├── scripts
│   │   └── app.js
│   └── styles
│        ├── main.css
│        └── styles.css.backup
├── bower.json
├── node_modules
├── bower_components
├── gulpfile.js
├── package.json
└── wct.conf.js

where index.html imports app/elements.html, and elements.html imports everything else, including custom elements.

Moreover, due to this structure and the use of gulp, the imports are all now relative, e.g.: ../bower_components/.

So it might be best to integrate the generated paths for this new method, assuming CDE integrates or provides templates for a polymer-starter-app kind of template?"

m4b commented 9 years ago

:+1: You might also want to keep an eye on Polymer Designer 2:

https://github.com/Polymer/designer

ussuri commented 9 years ago

Sorry, didn't see your reply. Yes, I know about Polymer Designer 2, and I personally know Justin, who is working on it :) So as soon as it's ready, maybe...