Skip to content

读取ers-electroon/resource/hello.xlsm的内容并计算金额显示到app中.

Notifications You must be signed in to change notification settings

ss7424Refar/ers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ers

  • 读取ers-electroon/resource/hello.xlsm的内容并计算金额显示到app中.

实现思路

  • ers-vue

    • 使用vuecli3打包spa页面
  • ers-electron

    • 引入express模块, 实现server.js中的http接口
    • electron启动的时候加载ers-vue打包好的dist中的index.html
    • index.html中请求数据接口为server.js提供

使用

  • ers-vue
  cd /ers-vue
  npm install
  
  npm run build             # 打包成dist
  • ers-electron
  cd /ers-elctron
  npm install
  
  cp -r ../ers-vue/dist .   # 拷贝ers-vue打包好的dist到当前目录的ers-electron中
  npm start                 # 启动electron-app
  npm run build-window      # 编译window版本

截图

img1

其他

  • electron打包的时候需要配置npm config set设置成淘宝镜像.

About

读取ers-electroon/resource/hello.xlsm的内容并计算金额显示到app中.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published