Labels and languageCode #1943
-
I am trying to add a label to a custom field in vendure.config:
This comes up with an error on npm run dev: src/vendure-config.ts(73,35): error TS2304: Cannot find name 'LanguageCode'. Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
michaelbromley
Dec 19, 2022
Replies: 1 comment 1 reply
-
Hi, import { LanguageCode } from '@vendure/core'; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
huwgit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You'll need to import the
LanguageCode
enum: