semeniuk / vuetify-file-browser Goto Github PK
View Code? Open in Web Editor NEWOpen source file manager component for web (Vue.js, Vuetify, Node.js)
License: MIT License
Open source file manager component for web (Vue.js, Vuetify, Node.js)
License: MIT License
I use webpack to generate vuetify-file-browser.js and vuetify-file-browser.css
When I use them in my html, the browser shows blank :
My HTML :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Some</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/vuetify-file-browser.css">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"/>
<script src="js/vue.browser.js"></script>
<script src="js/vuetify-file-browser.js"></script>
</head>
<body class="layout">
<div class="wrapper d-flex align-items-stretch">
<div id="content" class="p-2 p-md-5">
<div class="container" id="app">
<template>
<file-browser :axiosConfig="{baseURL: 'http://localhost:8081'}" />
</template>
</div>
</div>
</div>
<script type="module">
import FileBrowser from "vuetify-file-browser";
export default {
components: {
FileBrowser
}
};
</script>
</body>
</html>
I understand the framework is build to fit nodejs.
However, I am not familiar with nodejs and using python for the backend server
Would you provide a way to use them in html?
I'd like to be able to have some users have read only access, some have full access. I gather this is not currently possible?
Thanks for your package.
How would i set the initial directory on load?
thx
Hi,
I have vuetify 2.3.10 and vuetify-file-browser 1.0.2.
When I am trying to use this package in a vue component this package is not loading properly and throwing these errors in the browser console.
TypeError: this.items.filter is not a function
at VueComponent.dirs (app.js:50538)
at Watcher.get (app.js:199624)
at Watcher.evaluate (app.js:199739)
at VueComponent.computedGetter [as dirs] (app.js:199987)
at Object.get (app.js:197296)
at Proxy.render (app.js:125673)
at VueComponent.Vue._render (app.js:198688)
at VueComponent.updateComponent (app.js:199213)
at Watcher.get (app.js:199624)
at Watcher.run (app.js:199710)
and
[Vue warn]: Error in render: "TypeError: this.items.filter is not a function"
found in
---> <List> at node_modules/vuetify-file-browser/src/List.vue
<VCard>
<FileBrowser> at node_modules/vuetify-file-browser/src/FileBrowser.vue
<MdTableRow> at src/components/MdTable/MdTableRow.vue
<MdContent> at src/components/MdContent/MdContent.vue... (1 recursive calls)
<MdTable> at src/components/MdTable/MdTable.vue
<MdCardContent> at src/components/MdCard/MdCardContent/MdCardContent.vue
<MdCard> at src/components/MdCard/MdCard.vue
<Documents> at resources/js/pages/dashboard/Documents.vue
<DashboardLayout> at resources/js/pages/dashboard/Index.vue
<App> at resources/js/App.vue
and
app.js:51072 Uncaught (in promise) TypeError: response.data.map is not a function
at VueComponent._callee$ (app.js:51072)
at tryCatch (app.js:83349)
at Generator.invoke [as _invoke] (app.js:83568)
at Generator.prototype.<computed> [as next] (app.js:83402)
at asyncGeneratorStep (app.js:50948)
at _next (app.js:50950)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.