@shuimo-design/shuimo-ui-nuxt
shuimo-ui nuxt module
947
395
| Install | |
|---|---|
npm install @shuimo-design/shuimo-ui-nuxt |
|
| Latest Version: | 0.0.1-beta.4 |
| License: | MIT |
| Last Updated: | Jul 27, 2026 |
| Links: | GitHub · npm |
Maintainer: hi_guaifan
Shuimo UI Nuxt module
Features
- 🧩 Automatically import components and styles on demand.
- ✨ Provide Some useful layout components.
Quick Setup
- Add
@shuimo-design/shuimo-ui-nuxtdependency to your project
# Using pnpm
pnpm add -D @shuimo-design/shuimo-ui-nuxt
# Using yarn
yarn add --dev @shuimo-design/shuimo-ui-nuxt
# Using npm
npm install --save-dev @shuimo-design/shuimo-ui-nuxt
- Add
shuimo-uito themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@shuimo-design/shuimo-ui-nuxt'
]
})
That's it! You can now use Shuimo UI in your Nuxt app ✨
Usage
You can use shuimo-ui create a website like this:

Components: MLoadingPreview
We provide a component called MLoadingPreview.
you can used it when you want to do some time-consuming operations like preload some assets and show a loading animation.
<template>
<div>
<client-only>
<MLoadingPreview v-model="isLoading" v-if="isLoading" :preInit="preInit"/>
</client-only>
<your-main-display-component v-if="!isLoading">
</your-main-display-component>
</div>
</template>
<script setup lang="ts">
const isLoading = ref(true);
const preInit = async () => {
await import('ASSET_URL');
// or other time-consuming operations
return true;
};
</script>
Related Packages
Version History
Pre-releases (4)
| Version | Released | License |
|---|---|---|
| 0.0.1-beta.4 | MIT | |
| 0.0.1-beta.3 | MIT | |
| 0.0.1-beta.2 | MIT | |
| 0.0.1-beta.1 | MIT |