Git Product home page Git Product logo

Comments (3)

tomask-de avatar tomask-de commented on July 19, 2024

Hi Dominik,

I don't think so. Like Rob described in episode #14 - creating reusable
elements it's supposed to work with polyserve.
So if you run polyserve in the ui-message directory you should end up to
preview the template at localhost:8080/components/ui-message/

best regards
Thomas

2015-06-10 8:34 GMT+02:00 dominik0711 [email protected]:

Hi Rob.

First of all thanks for your videos! Great work!
You've got a typo (wrong import path) in ep17-theming inside
ui-message.html:

Instead of it should
be


Reply to this email directly or view it on GitHub
#7.

from polycasts.

robrez avatar robrez commented on July 19, 2024

it's a bit tricky because the workflow for in-production and in-development is different.

In production, we expect someone to be reusing our custom element (ui-message.html). They would install our element with bower install --save ui-message=polycasts/ui-message#master. In this scenario, ui-message will correctly be placed alongside polymer and any other dependencies in a bower_components directory. So the relative path, ../polymer/polymer.html, is correct.

For development, @tomask-de is right, you need to use polyserve or some other DIY method (which can be tedious / a recipe for committing a bad path)

from polycasts.

robdodson avatar robdodson commented on July 19, 2024

thanks @tomask-de and @robrez for following up, I'm going to close this issue, @dominik0711 I hope it answers your questions? Here's a link to the episode that demonstrates polyserve: https://www.youtube.com/watch?v=p7Q1mQtFGM8&list=PLOU2XLYxmsII5c3Mgw6fNYCzaWrsM3sMN&index=4

from polycasts.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.