Code Monkey home page Code Monkey logo

excel-to-json's Introduction

use

该demo功能:

  • 动态生成多语言Excel
  • 上传Excel文件,解析成json多语言模板

生成Excel

使用到npm包 json2xls

  1. 将翻译 json 文件放置路径 excel-to-json/server/data
  2. npm run genXLSX
  3. 可以在目录 excel-to-json/server/data 看到 name.xlsx 生成

将Excel文件转化为json

使用到npm包 xlsx

  1. 运行指令 npm run serve 启动web项目
  2. 在页面中上传 Excel 文件后,可看到解析后的内容
  3. 将内容复制到其他工程使用即可

部署静态页面

  1. 在 main 分支开发并打包得到 dist 文件夹
  2. 复制 /dist 内容到当前 page 分支根目录下(保持 index.html 在根目录)
  3. 提交当前分支代码,1分钟后访问 https://wenf.top/excel-to-json/ 即可

静态页面访问地址

excel-to-json's People

Contributors

wenfujie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.