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

Allow using strings in head config option #1636

Open
sergeymorkovkin opened this issue Jun 3, 2019 · 0 comments
Open

Allow using strings in head config option #1636

sergeymorkovkin opened this issue Jun 3, 2019 · 0 comments

Comments

@sergeymorkovkin
Copy link
Contributor

Feature request

What problem does this feature solve?

Simplifies adding page tags to end-users. For example, favicon generators provides a bunch of head tags, which are ready to be injected. The thing is now developer has to parse these HTML tags into consumable object like ['meta', { 'http-equiv': 'X-UA-Compatible', 'content': 'IE=edge' }]. This doesn't help at all.

What does the proposed API look like?

Allow pure HTML strings in the head configuration option.

How should this be implemented in your opinion?

Simply add list item type checking. Should consider SSR renderer and vuepress-html-webpack-plugin.

Are you willing to work on this yourself?

I might if you confirm this is welcome.

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