Giter Club home page Giter Club logo

Comments (3)

helloyou2012 avatar helloyou2012 commented on July 26, 2024

@chasonyang 没太明白你的意思,是用 better-xlsx 生成的 Excel 文件无法打开么?是用什么软件打开失败呢?

from better-xlsx.

chasonyang avatar chasonyang commented on July 26, 2024

@helloyou2012 抱歉,描述错误,windows上面一直是在npm run dev 模式下运行的,
访问npm run build得到的本地html文件,下载生成的excel,和linux(同样的html文件全部放linux上面,然后访问对应的域名或者ip,下载的excel)里面一样是无法打开的,
都是用 Microsoft Excel 2013打开
可能跟webpack的打包配置有关系(但我按照你说的,直接import的‘better-xlsx/dist/xlsx’)

from better-xlsx.

chasonyang avatar chasonyang commented on July 26, 2024

问题确定了,还是改为直接import的‘better-xlsx’,虽然还是会有之前提到的警告,但不影响excel的生成和打开
问题相关 #17

from better-xlsx.

Related Issues (20)

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.