Comments (6)
This seems like more of a bug than an enhancement, but either way it's definitely needed. Here's an example of a demo app where the assets load incorrectly due to this issue:
http://elwayman02.github.io/ember-bug-widget/
from ember-cli-github-pages.
rounders/ember-world-flags#3 details how to fix this issue manually. Essentially, you need to edit all vendor assets to use the app name twice in their paths, since the demoURL
path includes the app name and the built app has a folder named after the app which contains the assets.
from ember-cli-github-pages.
Is this an issue if configured correctly, and are you sure you're not having issues with fingerprinting of dynamic assets?
from ember-cli-github-pages.
Ping
from ember-cli-github-pages.
@knownasilya I definitely had this issue on multiple addons and it wasn't a fingerprinting problem in the past. I am not sure if it still exists as I haven't had to deploy an addon with asset loading on the recent versions of this addon
from ember-cli-github-pages.
Hi, guys, I think this should be an enhancement, instead of a bug. If your images
and fonts
are not in the assets
folder, you should use a absolute path like /images/some-image.jpg
, not images/some-image.jpg
in your *.css , *.less, or *.scss, and use relative path like images/some-image.jpg
in the *.hbs.
It works well if you use a domain, org's or user's gh-pages, because all of these have no directory prefix /project-name
.
Demo:
sources: https://github.com/Ebookchain/ebookchain.org (with fingerprinting of dynamic assets)
site(on gh-pages): http://ebookchain.org
from ember-cli-github-pages.
Related Issues (20)
- Directly requesting sub routes causes 404 HOT 4
- Adding only dist folder to the gh-pages/master branch HOT 1
- Create the gh-pages branch if not existent HOT 7
- `returnToPreviousCheckout` doesn't work HOT 2
- Comaintainers needed HOT 3
- ember-bootstrap assets not loading HOT 3
- Command hangs HOT 6
- Installation instruction deleted all my work HOT 13
- Does this work with the new rootURL? HOT 4
- Custom Domain Configuration Overwritten HOT 2
- Checkbox tick png missing on demo site HOT 2
- Radio button not working on demo site HOT 2
- Deploying a second time does not remove previous build's files
- Ember 2.18 deprecation HOT 2
- Command failed HOT 5
- Query params not being picked up HOT 1
- Version 0.2.0 Not Tagged in GitHub HOT 1
- Fails if the default bash is FISH HOT 9
- Readme deploy script does not build for production
- SHA hash mismatch? 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 ember-cli-github-pages.