Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
renoirb committed Sep 26, 2024
1 parent fe18950 commit 4eb26cb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@ const main: NuxtConfig = {
},
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
script: [
// <script src="https://myawesome-lib.js"></script>
// { src: 'https://awesome-lib.js' },
{
type: 'module',
innerHTML: `
/**
* Added on 2024-09-18 during migration.
*/
import { registerCustomElement } from 'https://renoirb.com/esm-modules/element-utils.mjs'
import NoticeBoxElement from 'https://renoirb.com/esm-modules/notice-box-element.mjs'
registerCustomElement(window, 'rb-notice-box', NoticeBoxElement)
`,
},
],
},
env: {
...appIdentity,
Expand Down

0 comments on commit 4eb26cb

Please sign in to comment.