Skip to content

TypeError: __vite_ssr_import_0__ is not a function on dayjs() #2484

Answered by sheremet-va
bobz25 asked this question in Q&A
Discussion options

You must be logged in to vote

This should answer your question: #1993

TLDR:

Use import dayjs from 'dayjs instead of import * as dayjs

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bobz25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants