Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fix relativeTime dayjs plugin import (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
brawaru authored Oct 21, 2023
1 parent c296597 commit 9932fe5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/components/base/ProjectCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ import {
} from '@'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'
import relativeTime from 'dayjs/plugin/relativeTime.js'
dayjs.extend(relativeTime)
</script>

Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,

"paths": {
"@/*": ["./lib/*"]
"@/*": ["./lib/*"],
"@": ["./lib/index.ts"]
}
},
"include": ["lib/**/*.js", "lib/**/*.ts", "lib/**/*.d.ts", "lib/**/*.tsx", "lib/**/*.vue"],
Expand Down

0 comments on commit 9932fe5

Please sign in to comment.