Giter Site home page Giter Site logo

Assets not found about ember-cli-github-pages HOT 4 CLOSED

poetic avatar poetic commented on June 6, 2024
Assets not found

from ember-cli-github-pages.

Comments (4)

knownasilya avatar knownasilya commented on June 6, 2024

So if the baseUrl is changed, then would you also have to enter that new baseUrl for local dev? Seems like a hassle, maybe have a separate config option.

from ember-cli-github-pages.

jakecraige avatar jakecraige commented on June 6, 2024

Ah yes.. Hopefully we can automate that somehow. I'm not super familiar with the addon config stuff but I think we may be able to get it to automatically add that as the baseURL when building for the production environment. Pulling the name from the package.json

from ember-cli-github-pages.

notmessenger avatar notmessenger commented on June 6, 2024

When I've done this by hand, we've had to change our urls to this - https://github.com/softlayer/sl-ember-translate/blob/b34c0f4486c1e190d3fb7e8673e0410e8668f930/dist/index.html#L23

Have also had to change the locationType in this file from auto to hash so that is something that should be considered to be done on the fly as well for gh-pages versions of the demo application.

from ember-cli-github-pages.

jakecraige avatar jakecraige commented on June 6, 2024

@notmessenger The way I've set up the gh-pages branch is that dist get's copied to the root on the gh-panes branch so that becomes unnecessary.

Though the locationType to hash probably needs to be set as well. I haven't set this up on any apps that actually navigate yet. I wouldn't be surprised if the pushState stuff from auto didn't work on gh-panes

from ember-cli-github-pages.

Related Issues (20)

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.