| FAIR Principle | Compliance through the SPARC Guidelines |
|---|---|
| F1. (Meta)data are assigned a globally unique and persistent identifier | Uploading datasets to pennsieve will assiggn DOIs to the object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { setup } from "@css-render/vue3-ssr"; | |
| import { defineNuxtPlugin, type NuxtSSRContext } from "#app"; | |
| export default defineNuxtPlugin((nuxtApp) => { | |
| if (process.server) { | |
| const { collect } = setup(nuxtApp.vueApp); | |
| const originalRenderMeta = nuxtApp.ssrContext?.renderMeta; | |
| nuxtApp.ssrContext = nuxtApp.ssrContext || ({} as NuxtSSRContext); | |
| nuxtApp.ssrContext.renderMeta = () => { |