@yunlefun/vue 0.0.8-beta.4 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,5 +11,5 @@
11
11
 
12
12
  .dark .ylf-bottom-menu {
13
13
  background-color: var(--ylf-bottom-menu-c-bg, #222);
14
- }
14
+ }
15
15
  </style>
@@ -0,0 +1,15 @@
1
+ <template>
2
+ <button class="ylf-button">
3
+ <slot />
4
+ </button>
5
+ </template>
6
+
7
+ <style lang="scss">
8
+ .ylf-button {
9
+ background-color: #fff;
10
+ border: 1px solid #d9d9d9;
11
+ padding: 4px 12px;
12
+
13
+ border-radius: 4px;
14
+ }
15
+ </style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div inline-flex cursor-default font-300>
3
3
  <div flex flex-col children:mx-auto>
4
- <div i-ri-cloud-line text-8xl />
4
+ <div class="i-ri-cloud-line" text-8xl />
5
5
  <span mt--2 text-2xl text-black>
6
6
  云乐坊
7
7
  </span>
@@ -47,4 +47,3 @@ function onClick(item: BottomMenuItem) {
47
47
  />
48
48
  </YlfBottomMenu>
49
49
  </template>
50
-
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <YlfButton>
3
+ Button
4
+ </YlfButton>
5
+ </template>
@@ -0,0 +1,4 @@
1
+ ---
2
+ title: Button
3
+ title_zh: 按钮
4
+ ---
package/nuxt.js CHANGED
@@ -6,7 +6,9 @@ export default defineNuxtModule({
6
6
  const { resolve } = createResolver(import.meta.url)
7
7
  // Add ./components dir to the list
8
8
  dirs.push({
9
+ extensions: ['vue'],
9
10
  path: resolve('./components'),
11
+ pathPrefix: false,
10
12
  prefix: '',
11
13
  })
12
14
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yunlefun/vue",
3
3
  "type": "module",
4
- "version": "0.0.8-beta.4",
4
+ "version": "0.0.9",
5
5
  "description": "Components for YunLeFun",
6
6
  "exports": {
7
7
  "./components/*": "./components/*",
@@ -28,7 +28,6 @@
28
28
  "typecheck": "vue-tsc --noEmit"
29
29
  },
30
30
  "devDependencies": {
31
- "nuxt": "^3.8.0",
32
- "unplugin-vue-components": "^0.25.2"
31
+ "nuxt": "^3.9.3"
33
32
  }
34
33
  }