mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-16 13:58:50 +08:00
prefix test
This commit is contained in:
parent
fb9e60206a
commit
dbbd73d9d1
3
app.vue
3
app.vue
@ -1,3 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<RayButton>Click me!</RayButton>
|
<RayButton>test</RayButton>
|
||||||
|
<RayInput/>
|
||||||
</template>
|
</template>
|
||||||
|
11
components/forms/Input.vue
Normal file
11
components/forms/Input.vue
Normal 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>
|
@ -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,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user