GithubHelp home page GithubHelp logo

polymer-router-demos's People

Contributors

atotic avatar erikringsmuth avatar pavelcibulka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

polymer-router-demos's Issues

When uploading to my server: Clicking on links changes the URL, but typing the URL goes to 404

Hi , when I download and upload the Router Demo , I can get to a page via link, but not through the URL - am I missing something?

Home
http://test7.pushka.com/
Click Notes
http://test7.pushka.com/notes

paste in the link and press enter
http://test7.pushka.com/notes

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

How would I get URLs working?
Do I need to link incoming URL requests to index.html or something?

//EDIT//

(this is talking about the router I linked to)

Ok - I found that for testing it is run on a Node.js server,

// let pushState and the router do the navigation. return index.html for all non-static-content routes.
app.get('*', function(req, res) {
res.sendFile(__dirname + '/index.html');
});

so all traffic goes through index.html and it serves the right files accordingly

How would this work on an apache server?
still using a JS file?
.htaccess rewriting?

Struggling to understand how does it intercept the link and load the content without refreshing

Hi,

I'm just wondering how app-router element intercept the html basic element and just route only the content of routing section without refreshing the whole page. I added few links in my single page app and tried to route using app-router element. But it refreshes the whole page act as a normal link.
I'm new to polymer so may be i'm missing some concepts.

Thanks
Regards
Shanika

erro na demonstração

olá, pretendo usar o componente de vocês porém o exemplo no git não esta funcionando e não consigo implantar, poderia mandar um link com um exemplo completo, já com os links? para que eu possa analisar como implantar?

Obrigado

Cannot get the other path

Hi, I want to ask something.
I got a code like this:




when i open the page, i only can get the page load at route "/", other than that it will return
"Cannot GET /login"
Why can't I go to that URL?

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.