Add a string of HTML to an HTML document.
the before option is to insert HTML before the first tag specified -- link in this case.
before
link
import { html } from 'ember-apply';await html.insertText('app/index.html', { text: `<link integrity="" rel="stylesheet" href="{{rootURL}}assets/tailwind.css">`, beforeFirst: 'link',}); Copy
import { html } from 'ember-apply';await html.insertText('app/index.html', { text: `<link integrity="" rel="stylesheet" href="{{rootURL}}assets/tailwind.css">`, beforeFirst: 'link',});
Add a string of HTML to an HTML document.