Comments (3)
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.
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.
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)
- ep46 with app-route: category not updating on page refresh HOT 2
- Example 46 not working
- Missing qoutes on two way binding
- Polymer-micro throws an exception HOT 4
- Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)." HOT 17
- policasts#25 convienet-page don't work
- define thunk behavior with polymer 2.0 classes HOT 4
- [ep59-firebase-messaging] How to save tokens from multiple devices w/o overwriting? HOT 3
- What happened to Polycasts? HOT 1
- No more polycasts? HOT 1
- Uncaught (in promise) DOMException: Registration failed - push service error
- 'ep06-simple-app' app not working properly on mobile chrome, but working nicely on mobile Safari, both case are on iphone 5. HOT 3
- ep14-reusable-elements HOT 1
- polymer-starter-kit: npm install build error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polycasts.