Element: [Bug Report] 403 message, failed to load resource

Created on 14 Aug 2017  ·  7Comments  ·  Source: ElemeFE/element

Element UI version

1.4.2

OS/Browsers version

OS X Sierra, Chrome 60.x

Vue version

2.4.2

Reproduction Link

https://brbb.github.io/graphql-rover/

Steps to reproduce

Just load the page and check the search bar icon and the console.

What is Expected?

The searchbar displays the search icon and no 403 error in the console log

What is actually happening?

Failed to load resource: the server responded with a status of 403 (): element-icons.woff
Failed to load resource: the server responded with a status of 403 (): element-icons.tff
OR
https://unpkg.com/[email protected]/lib/theme-default/fonts/element-icons.woff?t=1472440741 index.js:3

Most helpful comment

I'm pointing at https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js now and it seems to work, do the same for the CSS

@import url("https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-default/index.css");

All 7 comments

6431

@qingdengyue I don't read Chinese, what does it mean? Is it an actual solution?

I also encountered this problem, could anybody help for it?

I'm pointing at https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js now and it seems to work, do the same for the CSS

@import url("https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-default/index.css");

Thanks. It works.@Brbb

Just wanted to let you know that if you have questions about jsDelivr you can let me know. We designed the service to be production ready and its currently in use by large corporations, so you don't have to worry about such breaking changes or bugs.

Plus we have servers in mainland China and a valid ICP license.

Apparently unpkg has now stopped supporting query parameters: https://github.com/unpkg/unpkg-website/issues/51 . Don't know if they'll change it back.

Switching to jsDelivr is a good idea. We'll consider to do that as well.

Closing now for this is not an Element bug.

Was this page helpful?
0 / 5 - 0 ratings