This commit is contained in:
HeXiaoLong:Suanier 2025-05-20 21:46:04 +08:00
parent 9170d7efd6
commit 89a8cae1c7
3 changed files with 8 additions and 10 deletions

View File

@ -1,3 +0,0 @@
{
"recommendations": ["Vue.volar"]
}

View File

@ -1,12 +1,13 @@
<script setup lang="ts"> <script setup lang="ts">
import {NiButton, NiLogo} from 'ni' import { NiButton, NiLogo, NiConfigProvider } from 'ni'
</script> </script>
<template> <template>
<NiButton>按钮</NiButton> <NiConfigProvider>
<NiLogo type="primary" size="large" /> <NiButton>按钮</NiButton>
<NiLogo type="primary" size="large" />
</NiConfigProvider>
</template> </template>
<style scoped> <style scoped></style>
</style>

View File

@ -1,4 +1,4 @@
import { inject, computed, type Ref, Reactive } from 'vue' import { inject, computed, Reactive } from 'vue'
import type { NiConfig } from './types' import type { NiConfig } from './types'
export function useNiConfig() { export function useNiConfig() {