# luckysheet-vue3-vite
**Repository Path**: m3389/luckysheet-vue3-vite
## Basic Information
- **Project Name**: luckysheet-vue3-vite
- **Description**: luckysheet + Vue3 + Vite demo
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 48
- **Created**: 2024-06-23
- **Last Updated**: 2024-06-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Luckysheet + Vue 3 + Vite
[](https://gitpod.io/#https://github.com/hjwforever/luckysheet-vue3-vite)
English | [简体中文](./README-zh.md)
## Introduction
This is a simple project that shows the use of [Luckysheet](https://github.com/mengshukeji/Luckysheet/) and [Luckyexcel](https://github.com/mengshukeji/Luckyexcel) in [Vue3](https://vuejs.org/) project with [Vite](https://vitejs.dev/).
## 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](https://luckysheet.vercel.app/)
2. [](https://gitpod.io/#https://github.com/hjwforever/luckysheet-vue3-vite)
## Note
1. In addition to the need to install the dependencies of [luckyexcel](https://www.npmjs.com/package/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](./index.html).
- For more importing solutions, please refer to the [official documentation](https://mengshukeji.github.io/LuckysheetDocs/guide/#steps-for-usage).
2. The core code is in [src/components/LuckySheet.vue](./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
- [Luckysheet](https://github.com/mengshukeji/Luckysheet)
- [Luckyexcel](https://github.com/mengshukeji/Luckyexcel)
- [Vue3](https://vuejs.org/)
- [Vite](https://vitejs.dev/)
## License
[MIT](http://opensource.org/licenses/MIT)