修复"vue3-typed-js" is imported by "xxxxxxx", but could not be resolved – treating it as an external dependency.
This commit is contained in:
parent
f23408598f
commit
ef48d8e1d6
@ -29,7 +29,7 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
transpile: ['@fortawesome/vue-fontawesome']
|
transpile: ['@fortawesome/vue-fontawesome', 'vue3-typed-js']
|
||||||
},
|
},
|
||||||
vite: {
|
vite: {
|
||||||
css: {
|
css: {
|
||||||
|
@ -23,7 +23,7 @@ const postsData = computed(() => {
|
|||||||
return recentPosts.value
|
return recentPosts.value
|
||||||
})
|
})
|
||||||
const activitiesData = computed((): IActivity<IContent>[] => {
|
const activitiesData = computed((): IActivity<IContent>[] => {
|
||||||
if (!recentActivities.value) return [];
|
if (!Array.isArray(recentActivities.value)) return [];
|
||||||
return recentActivities.value.map(item => {
|
return recentActivities.value.map(item => {
|
||||||
try {
|
try {
|
||||||
if (item.op_type === "commit_repo")
|
if (item.op_type === "commit_repo")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user