Do you actually test your code tutorials?

Posted by: davide.vago on 20 June 2019, 10:40 pm EST

  • Posted 20 June 2019, 10:40 pm EST

    Ref: https://www.grapecity.com.cn/blogs/create-a-spreadjs-vue-project-in-3-minutes

    I’m currently trying to implement SpreadJS into a VUE project, following the snippet written by the author it’s clear that there are missing variable references example: excelFile and spread.

    The downloadable demo is a 200mb package, and the download rate is around 1kb/s from a fast connection from UK (83.6 Mbps download 70.0 Mbps upload)

    Are you including some sort of node_modules/ folder? How come files for a demo end up with a zip file of 200mb?

    Specifically, following the snippets from the Tutorial and fixing the missing parts ExcelIO used to import the .xls file returns just the log of the instance:

    g6: a {loadType: 1, fileReader: FileReader, passwordFileReader: FileReader, compoundFile: g, onFileLoad: ƒ, …}
    

    Nothing else, would you mind review the post on your website please?

  • Posted 23 June 2019, 9:17 pm EST

    Hi Davide,

    We have tested out the tutorial code and didn’t face any issues. We have attached the sample that we have created by following the tutorial. Please have a look at it and let us know if you face any issues, to run the sample first install the required dependencies by executing the ‘npm install’ command and then use the ‘npm run serve’ command to build and host the project.

    Regarding the download size, the download bundle includes the complete spread.sheets, spread.views package along with various sample due to which the size is about 200 MBs.

    Regards

  • Posted 23 June 2019, 9:17 pm EST

    Attached sample: spread-sample.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels