prefix test

This commit is contained in:
Timothy Yin 2024-11-15 18:00:00 +08:00
parent fb9e60206a
commit dbbd73d9d1
5 changed files with 23 additions and 4 deletions

View File

@ -1,3 +1,4 @@
<template> <template>
<RayButton>Click me!</RayButton> <RayButton>test</RayButton>
<RayInput/>
</template> </template>

View File

@ -0,0 +1,11 @@
<script lang="ts" setup>
</script>
<template>
<input placeholder="test from rayine" class="rounded-lg border border-neutral-200 px-2 py-1" />
</template>
<style scoped>
</style>

View File

@ -1,5 +1,12 @@
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ export default defineNuxtConfig({
devtools: { enabled: true }, devtools: { enabled: true },
modules: ["@nuxtjs/tailwindcss"] modules: ["@nuxtjs/tailwindcss"],
}) components: [
{
path: "./components",
prefix: "Ray",
pathPrefix: false,
},
],
});

View File

@ -1,5 +1,5 @@
{ {
"name": "my-nuxt-layer", "name": "rayine-layer",
"type": "module", "type": "module",
"version": "0.0.1", "version": "0.0.1",
"main": "./nuxt.config.ts", "main": "./nuxt.config.ts",