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

Please list the optional values of the injectTo parameter in detail in the documentation. #52

Closed
misitebao opened this issue Mar 21, 2022 · 1 comment · May be fixed by #54
Closed

Please list the optional values of the injectTo parameter in detail in the documentation. #52

misitebao opened this issue Mar 21, 2022 · 1 comment · May be fixed by #54

Comments

@misitebao
Copy link

No description provided.

@BrainCrumbz
Copy link

Hi there. It seems they originate from vitejs plugin API, judging from this reference doc:

interface HtmlTagDescriptor {
  tag: string
  attrs?: Record<string, string | boolean>
  children?: string | HtmlTagDescriptor[]
  /**
   * default: 'head-prepend'
   */
  injectTo?: 'head' | 'body' | 'head-prepend' | 'body-prepend'
}

Maybe project maintainers would accept a PR with a mention to this page in readme.

misitebao added a commit to misitebao/vite-plugin-html that referenced this issue Mar 23, 2022
Added parameter description for `injectTo` parameter and added reference link

This resolve vbenjs#52
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

Successfully merging a pull request may close this issue.

2 participants