Skip to content

Commit

Permalink
docs: update pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Skyblue committed Mar 13, 2023
1 parent fe73930 commit 8d013a8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 197 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmmirror.com/
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-vue": "^9.9.0",
"gh-pages": "^4.0.0",
"naive-ui": "^2.34.3",
"np": "^7.6.2",
"prettier": "^2.7.1",
"sortablejs": "^1.15.0",
Expand Down
148 changes: 0 additions & 148 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 2 additions & 38 deletions src/__docs__/third-component/Card.vue
Original file line number Diff line number Diff line change
@@ -1,41 +1,5 @@
<template>
<template>
<n-list bordered>
<template #header>hhh</template>
<template #footer>fff</template>
<n-list-item>
<template #prefix>
<n-button>Prefix</n-button>
</template>
<template #suffix>
<n-button>Suffix</n-button>
</template>
<n-thing title="Thing" title-extra="extra" description="description">
Biu
<br />
Biu
<br />
Biu
<br />
</n-thing>
</n-list-item>
<n-list-item>
<n-thing title="Thing" title-extra="extra" description="description">
Biu
<br />
Biu
<br />
Biu
<br />
</n-thing>
<template #suffix>
<n-button>Suffix</n-button>
</template>
</n-list-item>
</n-list>
</template>
<template></template>
</template>

<script lang="ts" setup>
import { NList } from 'naive-ui'
</script>
<script lang="ts" setup></script>
11 changes: 1 addition & 10 deletions src/__docs__/third-component/demo.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
<template>
<VueDraggable v-model="data" target=".sort-target">
<n-data-table
theme="dark"
:bordered="false"
:single-line="false"
:columns="columns"
:data="data"
/>
</VueDraggable>
<VueDraggable v-model="data" target=".sort-target"></VueDraggable>
<pre class="code-block">{{ stringify(data) }}</pre>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { VueDraggable } from 'vue-draggable-plus'
import { NDataTable } from 'naive-ui'
const data = ref([
{
Expand Down

0 comments on commit 8d013a8

Please sign in to comment.