更新首页

master
yutent 2023-02-12 23:21:47 +08:00
parent 87844eb3d7
commit 03f69e50e6
1 changed files with 39 additions and 7 deletions

View File

@ -1,10 +1,10 @@
<template>
<main class="home">
<dl class="card" v-for="it in libs">
<dl class="card" v-for="it in libs" :key="it.name">
<dt class="title">{{ it.name }} - v{{ it.version }}</dt>
<dd class="list">
<section class="link">
//jscdn.ink/{{ it.name }}/{{ it.version }}/{{ it.file }}
<section class="link" v-for="f in it.files">
//jscdn.ink/{{ it.name }}/{{ it.version }}/{{ f }}
</section>
</dd>
</dl>
@ -16,13 +16,45 @@ export default {
data() {
return {
libs: [
{ name: 'vue', version: '2.3.2', file: 'vue.esm-browser.js' },
{
name: 'vue',
version: '3.2.47',
files: [
'vue.cjs.js',
'vue.cjs.prod.js',
'vue.esm-browser.js',
'vue.esm-browser.prod.js',
'vue.esm-bundler.js',
'vue.global.js',
'vue.global.prod.js',
'vue.runtime.esm-browser.js',
'vue.runtime.esm-browser.prod.js',
'vue.runtime.esm-bundler.js',
'vue.runtime.global.js',
'vue.runtime.global.prod.js'
]
},
{
name: 'vue-router',
version: '4.1.2',
file: 'vue-router.esm-browser.js'
version: '4.1.6',
files: [
'vue-router.cjs',
'vue-router.cjs.js',
'vue-router.cjs.prod.js',
'vue-router.esm-browser.js',
'vue-router.esm-bundler.js',
'vue-router.global.js',
'vue-router.global.prod.js',
'vue-router.mjs',
'vue-router.node.mjs',
'vue-router.prod.cjs'
]
},
{ name: '@bytedo/fetch', version: '2.1.2', file: 'index.js' }
{
name: '@bytedo/fetch',
version: '2.1.1',
files: ['index.js', 'next.js']
}
]
}
},