Skip to content
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

W3 Error #62

Open
patrykluba opened this issue Aug 20, 2020 · 0 comments
Open

W3 Error #62

patrykluba opened this issue Aug 20, 2020 · 0 comments

Comments

@patrykluba
Copy link

patrykluba commented Aug 20, 2020

Describe the bug
The implementation of color.less causes an error in the W3 validator. Exists solution to remove error from W3 Validator?

Show your code
Code added to index.html

<body>
      <link rel="stylesheet/less" href="/color.less" />
    <script>
      window.less = {
        async: false,
        env: 'production'
      };
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.2/less.min.js"></script>

Error:

Error: A link element must not appear as a descendant of a body element unless the link element has an itemprop attribute or has a rel attribute whose value contains dns-prefetch, modulepreload, pingback, preconnect, prefetch, preload, prerender, or stylesheet.

Version
antd-theme-webpack-plugin: 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant