hilanmiao / lanmiaodesktop Goto Github PK
View Code? Open in Web Editor NEW一个完整electron桌面记账程序,技术栈主要使用electron-vue+vuetify。开机自动启动,自动更新,托盘最小化,闪烁等常用功能,Nsis制作漂亮的安装包。
Home Page: https://hilanmiao.github.io/LanMiaoDesktop
License: MIT License
一个完整electron桌面记账程序,技术栈主要使用electron-vue+vuetify。开机自动启动,自动更新,托盘最小化,闪烁等常用功能,Nsis制作漂亮的安装包。
Home Page: https://hilanmiao.github.io/LanMiaoDesktop
License: MIT License
程序启动,确实是打开了登录页面
但是此时没有登录点击托盘却可以看到登录成功后的住页面
请问有什么好的解决方案没有
1 npm install
2 npm run build
| ./node_modules/vue-style-loader/lib/addStylesClient.js 6.09 KiB [built]
| ./node_modules/vue-style-loader/lib/listToStyles.js 637 bytes [built]
[52] ./node_modules/element-ui/lib/theme-chalk/base.css 435 bytes {0} [built]
[70] ./node_modules/element-ui/lib/upload.js 35.1 KiB {0} [built]
[71] ./node_modules/element-ui/lib/button.js 10 KiB {0} [built]
[72] external "axios" 42 bytes {0} [built]
[78] ./node_modules/vuetify/dist/vuetify.js 1.05 MiB {0} [built]
[79] ./node_modules/element-ui/lib/theme-chalk/upload.css 437 bytes {0} [built]
[93] ./node_modules/element-ui/lib/theme-chalk/button.css 437 bytes {0} [built]
[95] ./node_modules/@vue/devtools/index.js 639 bytes {0} [built]
[172] ./node_modules/vuetify/dist/vuetify.min.css 436 bytes {0} [built]
[174] ./node_modules/material-design-icons-iconfont/dist/material-design-icons.css 446 bytes {0} [built]
[180] external "vue-electron" 42 bytes {0} [built]
[182] ./src/renderer/main.js + 8 modules 5.53 KiB {0} [built]
| ./src/renderer/main.js 923 bytes [built]
| ./src/renderer/App.vue 511 bytes [built]
| ./src/renderer/router/index.js 2.56 KiB [built]
| ./src/renderer/store/index.js 397 bytes [built]
| ./src/renderer/App.vue?vue&type=template&id=7b5edda6& 201 bytes [built]
| ./src/renderer/App.vue?vue&type=script&lang=js& 344 bytes [built]
| ./src/renderer/store/plugins/todo.js 322 bytes [built]
| ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/renderer/App.vue?vue&type=template&id=7b5edda6& 210 bytes [built]
| ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/renderer/App.vue?vue&type=script&lang=js& 37 bytes [built]
+ 175 hidden modules
**ERROR in Template execution failed: ReferenceError: process is not defined**
ERROR in ReferenceError: process is not defined
- index.ejs:771
D:/Electron/LanMiaoDesktop/src/index.ejs:771:2
- index.ejs:776 module.exports
D:/Electron/LanMiaoDesktop/src/index.ejs:776:3
- index.js:284
[LanMiaoDesktop]/[html-webpack-plugin]/index.js:284:18
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 556 KiB 0
Entrypoint undefined = index.html
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs 1.2 KiB {0} [built]
[1] ./node_modules/lodash/lodash.js 527 KiB {0} [built]
[2] (webpack)/buildin/module.js 497 bytes {0} [built]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node .electron-vue/build.js && electron-builder
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Apple\AppData\Roaming\npm-cache_logs\2019-06-18T14_01_16_153Z-debug.log
看到您打包了linux,我试了一下,也可以在linux上运行,虽然有点显示上的问题。不知您是如何进行linux程序打包的呢?
十分期望,博主做一套基于 electron9.x ↑ + vue/cli4 ↑ 开发教程;项目真无所谓,主要是electron的“核心功能”,如多窗口等。
用那个一键生成安装包没有latest.yml怎么调用自动更新
Describe the bug
[Vuetify] Multiple instances of Vue detected
To Reproduce
Steps to reproduce the behavior:
按照教程第二步启动后就会报错
Expected behavior
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
为什么启动之后是项目目录
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.