-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document data-resources-url #903
Comments
Hopefully you should not need to use |
We host all our js and css assets on a CDN so our script tags are all pointing to that. We also pull some common libs, such as bootstrap, from public CDNs. So we've got script tags which src several different hostnames. What is the preferred method to tell any given stencil WC lib where to do its loading from? |
Ok, so in most cases the resource location can be figured out by stencil but apparently there are some cases where 'data-resources-url' is needed. So with a little more research it turns out that this is not only an internal use mechanism and is just lacking documentation. So if it works use it. I will change this issue to a docs issue so we need to document when to make use of this mechanism |
Sounds great. Thank you.
…On Tue, Jul 10, 2018 at 9:03 AM Josh Thomas ***@***.***> wrote:
Ok, so in most cases the resource location can be figured out by stencil
but apparently there are some cases where 'data-resources-url' is needed.
So with a little more research it turns out that this is not only an
internal use mechanism and is just lacking documentation.
So if it works use it. I will change this issue to a docs issue so we need
to document when to make use of this mechanism
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#903 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtzcH74CluPmQuTNblJN8Y4nx6Jp1nIks5uFLQSgaJpZM4VEMfe>
.
|
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out. Thank you for using Stencil! |
I'm submitting a:
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
I've been playing with stencil and other WC frameworks looking for one that fits my needs. Stencil is pretty awesome but one of my struggles has been with specifying where to load resources from so that lazy loading works correctly (we load js assets from a CDN). I found data-resources-url in your loader code which is perfect, but see that it isn't documented anywhere.
I'm a bit hesitant to make use of it as I'd consider it "private" unless its documented.
The text was updated successfully, but these errors were encountered: