Skip to content

Loaders

一開始掛載 plugins 的時候,可帶入元件的前綴名稱,以防與專案元件命名重複

js
app.use(createCore, {
    prefix: 'core',
});


md
<template>
    <core-loader-ellipsis
        :size="'40px'"
        :color="'#0096ff'"
    ></core-loader-ellipsis>
</template>
md
<template>
    <core-loader-grid
        :size="'40px'"
        :color="'#0096ff'"
    ></core-loader-grid>
</template>
md
<template>
    <core-loader-hourglass
        :size="'40px'"
        :color="'#0096ff'"
    ></core-loader-hourglass>
</template>
md
<template>
    <core-loader-ring
        :size="'40px'"
        :color="'#0096ff'"
    ></core-loader-ring>
</template>
md
<template>
    <core-loader-spinner
        :size="'40px'"
        :color="'#0096ff'"
    ></core-loader-spinner>
</template>