@farris/cli 2.3.4 → 2.3.5

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@farris/cli",
3
3
  "private": false,
4
- "version": "2.3.4",
4
+ "version": "2.3.5",
5
5
  "type": "module",
6
6
  "typings": "lib/index.d.ts",
7
7
  "exports": {
@@ -0,0 +1,8 @@
1
+ import { defineComponent } from 'vue';
2
+
3
+ export default defineComponent({
4
+ name: 'App',
5
+ setup() {
6
+ return () => <p>这是一个空组件仓库。在 components/ 下添加组件后,可在此预览。</p>;
7
+ }
8
+ });
@@ -1,5 +1,5 @@
1
1
  import { createApp } from 'vue';
2
- import App from './App.vue';
2
+ import App from './App';
3
3
 
4
4
  import.meta.glob('../components/**/*.scss', { eager: true });
5
5
 
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <p>这是一个空组件仓库。在 components/ 下添加组件后,可在此预览。</p>
5
- </template>