Skip to content

jwhx/luckysheet-vue3-vite

Repository files navigation

Luckysheet + Vue 3 + Vite

Gitpod ready-to-code

English | 简体中文

Introduction

This is a simple project that shows the use of Luckysheet and Luckyexcel in Vue3 project with Vite.

Live Demo

Tips: There may be some problems with exporting files in the demo website, but running the project locally can export files normally

  1. Live Demo
  2. Open in Gitpod

Note

  1. In addition to the need to install the dependencies of luckyexcel, you also need to introduce the style files and js files of LuckySheet.
  • import LuckySheet globally: Import related files directly from the cdn source in index.html.
  • For more importing solutions, please refer to the official Luckysheet Docs.
  1. The core code is in src/components/LuckySheet.vue

Development

You can choose one of three package managers: npm, yarn, pnpm.

npm
Installation

  npm install
  
Run

  npm run dev
  
Build

  npm run build
  
yarn
Installation

  yarn install
  
Run

  yarn run dev
  
Build

  yarn run build
  
pnpm
Installation

  pnpm install
  
Run

  pnpm run dev
  
Build

  pnpm run build
  

Resources

License

MIT