安装 naive-ui

This commit is contained in:
2022-12-20 05:44:10 +08:00
parent ee11573a96
commit df24352dc1
4 changed files with 200 additions and 5 deletions

12
app.vue
View File

@@ -1,4 +1,12 @@
<template lang="pug">
div
span.bg-red-100 Hello World
div.min-h-screen.flex.flex-nowrap(style="background-color: #15191e")
header.fixed.w-full.flex.justify-center.items-center.px-4.py-2.text-white(style="background-color: #06070de3")
span.w-64.font-bold.text-2xl Logo
input.rounded-lg.h-9.px-4.bg-dark-900.border.border-gray-700.text-gray-500(value="Search" type="text" class="focus:outline-none")
nav.flex.gap-4.text-white(class="container mx-auto px-4 py-2")
a(href="#") Home
a(href="#") About
a(href="#") Contact
button.w-6.h-6 user
NuxtPage
</template>>