Skip to content

Commit d710417

Browse files
committed
Remove demo from package
1 parent 87e10de commit d710417

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

src/demo/App.vue renamed to demo/App.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<template>
22
<FileInput :state="state">
3-
<template v-slot:selected><FileInputSelectedInfo :state="state"/></template>
3+
<template v-slot:selected>
4+
<FileInputSelectedInfo :state="state"/>
5+
</template>
46
</FileInput>
57
</template>
68

79
<script setup>
8-
import {getStateInstance, FileInput, FileInputSelectedInfo} from "../index";
10+
import {getStateInstance, FileInput, FileInputSelectedInfo} from "/src/index";
911
// or
1012
// import {getStateInstance, FileInput, FileInputSelectedInfo} from "@alttiri/vue-file-input";
1113
File renamed without changes.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
</head>
2121
<body>
2222
<div id="app"></div>
23-
<script src="/src/demo/main.js" type="module"></script>
23+
<script src="/demo/main.js" type="module"></script>
2424
</body>
2525
</html>

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alttiri/vue-file-input",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"type": "module",
55
"description": "Vue.js file input with Drag and Drop support.",
66
"homepage": "https://github.com/alttiri/vue-file-input",
@@ -10,6 +10,9 @@
1010
"type": "git",
1111
"url": "https://github.com/alttiri/vue-file-input.git"
1212
},
13+
"files": [
14+
"src"
15+
],
1316
"scripts": {
1417
"dev": "vite --host",
1518
"build": "vite build",

0 commit comments

Comments
 (0)