hawkeye64 / electron-quasar-file-explorer Goto Github PK
View Code? Open in Web Editor NEWA Simple File Explorer using Vue/Quasar/Electron
License: MIT License
A Simple File Explorer using Vue/Quasar/Electron
License: MIT License
Vigorous hand clapping and thumbs up on your tutorial. You are a talented writer.
Thank you for sharing your work.
Build error:
Module build failed (from ./node_modules/vue-loader/lib/index.js):
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
Possible solutions:
But in my case...
$ npm show vue-template-compiler version
2.6.10
$ npm show vue version
2.6.10
I suppose this is related to the latest release of quasar. I see another having the same issue...
My webpack fu is not good enough to truly understand what is required of me here.
Later:
npm install --dev vue-template-compiler
That got me past this error. There are more issues but they were self-explanatory. The final build has "critical" errors but ran and behaved.
if i start quasar application, console show this error.
Invalid prop: type check failed for prop "absolutePath". Expected String with value "null", got Null
found in
---> at src/components/breadcrumbs.vue
how to fix it?
There's a dearth of good examples of how to debug Quasar electron apps in vscode, and I'm stuck. It would be great if you could add a working launch.json to this project. Presumably something similar to:
https://github.com/bromix/vue-electron-app/blob/master/.vscode/launch.json
with appropriate substitutions.
Using fedora 29. Downloaded, ran npm install, tried npm run dev, crashed with the following.
Module build failed (from ./node_modules/vue-loader/lib/index.js):
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
- index.js:21 loadTemplateCompiler
[electron-quasar-file-explorer-master]/[vue-loader]/lib/index.js:21:11
- index.js:65 Object.module.exports
[electron-quasar-file-explorer-master]/[vue-loader]/lib/index.js:65:35
Ran npm i vue-loader
still didin't work.
Tried npm i vueify
still didn't work.
Tried npm i vue-template-compiler
And, viola, it's working. Clicking around is responsive. I see thumbnails. Cool. Thank you for the tutorial!
It is caused by the highlighted line in src/pages/contents.vue:
changing the line to the below fixes it for me:
return moment.utc(node.data.stat.mtime).format('YYYY-DD-MM h:mm:ss a')
for those who want to display local time and not UTC time (using the locale of your machine/device):
return moment.utc(node.data.stat.mtime).local().format('YYYY-DD-MM h:mm:ss a')
Hi,how can I debugger this main-process with VS Code ?
hi, i'm tried to create new project and showing file explorer in windows. and i'm beginner.
if i click C drive and d drive, it is changed and show files and folder.
but if i click shortcut button(like pictures, music etc..), elctron paused and showing error
maybe it caused from vue.runtime.esm.js in node_modules/vue/dist
error caused line is 4627 in proxy function.
how can i fixed this error? and if i clicked shortcut button, setSelectedFolder function is called twice. is it correct?
p.s. i think pressed shortcut button is occur infinity loop..
added - i can't load child path from C drive or D drive. why i can't load my child path from drive folder?
and if i run your project, it cause vue warn
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.