Skip to content

A small UI to transform excel to specific format JS file. I use this to manage my i18n files.

License

Notifications You must be signed in to change notification settings

byv55f5f5/excel-to-js

Repository files navigation

excel-to-js

A small UI to transform excel to specific format JS file. I use this to manage my i18n files. It will backup your excel to specific location of your server. If you put it on NAS.

Usage step:

  1. npm install
  2. npm run dev
  3. open url (localhost:9009)

Usage step (with data upload):

  1. npm install
  2. npm run build
  3. Create a folder name "exceltojs" in NAS web server directory.
  $ mkdir /share/Web/exceltojs
  1. Create a folder name "uploads" in "exceltojs" folder. Make sure its permission is writable.
  $ mkdir /share/Web/exceltojs/uploads
  $ chmod 777 /share/Web/exceltojs/uploads/
  1. Put files in build directory on QNAP NAS.
  2. Put files in api directory on QNAP NAS.
  • file system:
exceltojs - - index.html
          + - index.bundle.js
          + - api
          |    + - upload.php
          + - uploads
  • P.S: You can edit $target_dir value of api/upload.php for different excel save folder.
  • P.S: You can edit API calling path in src/app/uploadFile.js for different upload.php location.

About

A small UI to transform excel to specific format JS file. I use this to manage my i18n files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published