https://metaplay.io logo
Importing MetaGeneratedContent
# questions-and-feedback
d
Hi, I'm importing the MetaGeneratedContent vue file with the following relative path as I couldn't find it exported and the documentation does not include the import statement.: import MetaGeneratedContent from './../../../MetaplaySDK/Frontend/Core/src/components/generatedui/components/MetaGeneratedContent.vue' Is this correct? Not a blocker but just feels odd to have this relative path. Sorry for bombarding with questions... Thanks Andre
j
You can add the following devDependency to your dashboard's package.json file:
Copy code
"devDependencies": {
    "@metaplay/core": "workspace:^",
Then you can import the MetaGenerated* files with:
Copy code
import { MetaGeneratedContent } from '@metaplay/core'
Happy to help, let us know if you have any further issues with it.
If the
"workspace:^"
doesn't work
"^1.0.0"
should.
d
thanks. my knowledge of javascript is pretty limited especially around packaging.