Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit 54565df

Browse files
committed
Update readme
1 parent 06127a5 commit 54565df

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ To manage and preview files with this library, follow these steps:
194194
// using CommonJS
195195
const { SingleFileUpload, MultipleFileUpload } = require("@canopassoftware/vue-file-upload");
196196
197-
OR;
197+
OR
198198
// using esModules
199199
import { SingleFileUpload, MultipleFileUpload } from "@canopassoftware/vue-file-upload";
200200
```

src/app/layout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ import "./globals.css";
44
import "../../dist/css/output.css";
55
import "../../dist/css/style.scss";
66

7-
import SingleFileUpload from '../components/singleFile'
8-
97
const inter = Inter({ subsets: ["latin"] });
108

119
export const metadata: Metadata = {
1210
title: "React file upload management",
1311
description: "A file management system, allows for single and multiple file uploading with a preview feature",
1412
};
1513

16-
app.component('SingleFileUpload', SingleFileUpload)
17-
1814
export default function RootLayout({
1915
children,
2016
}: {

0 commit comments

Comments
 (0)