SpreadJS, Nuxt Excel Component

The world's No. 1 Excel Component for Nuxt Developers.

Quickly and easily develop Excel screens and features in your Nuxt applications using SpreadJS, a Nuxt-based Excel spreadsheet component.

Why SpreadJS

Why Choose SpreadJS for Your Nuxt App?

Fully Implemented Excel UI & Editor

You can quickly and easily implement an Excel editor that is fully compatible with Microsoft Excel in your Nuxt-based application with just a few lines of JavaScript code.

Vue and Nuxt Support

SpreadJS supports Vue and Nuxt v2 . Develop Excel UI and features more efficiently in your Nuxt-based applications.

Supports 500+ Excel Functions

It provides over 500 built-in functions that are fully compatible with Microsoft Excel functions, and you can extend them by customizing formulas with built-in functions and operators.

Import and Export Excel Data

You can easily and quickly import Excel files directly into SpreadJS, or export SpreadJS sheets to various formats such as XLSX (Excel), CSV, and PDF.

Data Visualization Using Charts, Sparklines, and Pivot Tables

Provide your users with enhanced data visualization solutions with a variety of Excel-compatible charts, sparklines, pivot tables, and custom visualizations.

SpreadJS Template Designer without Coding

Save time and energy on application development by easily designing Excel templates with the SpreadJS template designer without coding.


Quick Start

Getting Started with SpreadJS in Nuxt 🚀

Based on Nuxt v3

1. Go to the Nuxt app folder and install the SpreadJS library.

npm install @mescius/spreadsheets

2. Create a SpreadSheet.vue file.

Create a SpreadSheet.vue file in the components folder in the application's root folder. * If there is no folder called components in the application's root folder, create it.

3. Add a css file to apply SpreadJS styles.

Add the SpreadJS CSS file to the script section of the components/SpreadSheet.vue  file you just created.

Add the CSS file with the style you want from the various CSS files. (Check the entire theme)

// SpreadSheet.vue

import ' @mescius/spread-sheets/styles/gc.spread.sheets.excel2016colorful.css';

4. SpreadJS does not support server-side rendering (SSR), so configure the component to render only on the client side.

Add the { ssr: false } setting to the nuxt.config.ts file as follows.

// nuxt.config.ts

export  default  defineNuxtConfig({

ssr: false,

})

5. Add the SpreadJS module.

Add the SpreadJS module to the script section of the components/SpreadSheet.vue file as follows.

// SpreadSheet.vue

import { GcSpreadSheets } from  '@mescius/spread-sheets-vue' ;

import * as  GC  from "@mescius/spread-sheets";

6. Set the Korean cultural sphere.

1) Install resource package. ex) Korean

npm install @mescius/spread-sheets-resources-ko

2) In the SpreadSheet.vue file Add code to import the Korean resource package within the <script></script> tag.

// SpreadSheet.vue

import  '@mescius/spread-sheets-resources-ko'   ;

3) Then add the code below.

// SpreadSheet.vue

GC.Spread.Common.CultureManager.culture("ko-kr");

7. Initialize the SpreadJS control and add it to the screen.

Initialize the SpreadJS control and write code to display it on the screen.

Please check the detailed code in the sample below.

8. Run the Nuxt app and check the results.

npm run dev

When you run the Nuxt app, you will see that the spreadsheet has been added as shown below.


For Nuxt Developers

Recommended Tutorials for SpreadJS Beginners

View More

Vue & Nuxt Web Excel Editor

EASY

Designer Components

The SpreadJS designer component allows you to quickly and easily implement a UI, menu structure, and Excel functionality similar to Google Sheets and online MS Excel. Check out the live demo and explore its various features.

Read More FAQ How to apply

The screen below is implemented as an actual designer component.

Nuxt Starter Template

Get Started Quickly with Customizable

Vue & Nuxt Samples and Templates.

Explore a variety of templates and samples built with SpreadJS. View live demos and download the source code to customize for your own use.

  • Business Dashboard

    This is a sample business dashboard built with built-in charts, sparklines, and custom formatting. Download the zip file for Vue2 | Vue3.

    View Demo
  • Financial KPI Dashboard

    This is a sample financial KPI dashboard that allows you to check targets and achievement rates. Download the zip file Vue2 | Vue3

    View Demo
  • Report Card Dashboard

    This is a sample report card dashboard that displays student counts and individual grades using bullets, lines, and column sparklines. Download the zip file in Vue2 | Vue3.

    View Demo
  • Financial applications

    This is a sample financial application built using chart and range templates. Download the zip file Vue2 | Vue3

    View Demo
  • Medical Dashboard

    This healthcare dashboard uses various charts to monitor patient visits, average wait times, and patient satisfaction. Download the zip file in Vue2 | Vue3.

    View Demo
  • Retail indicators

    This is a sample dashboard demonstrating the power of the rangeTemplate feature, which allows you to define multi-row templates and apply custom templates to cells. Download the zip file for Vue2 | Vue3

    View Demo
  • Project Dashboard

    This is a sample project dashboard that lets you monitor project progress using built-in charts from the Gantt sheet. Download the zip file for Vue2 | Vue3

    View Demo
Want More Templates & Samples?

Visit our SpreadJS online tutorial showcase!

SpreadJS Key Features for Vue & Nuxt

  • Powerful Pivot Tables

    SpreadJS fully supports pivot tables and can import and export Excel pivot tables. Use pivot tables to group, calculate, summarize, and display large amounts of data, increasing your productivity.

  • Gantt Sheet

    Provides a GanttSheet, a data table view with quick data binding.

  • Report Sheet

    Easily design reports with support for data entry, pagination, data filtering, sorting, and conditional formatting.

  • 500+ Functions Supported

    SpreadJS includes powerful Excel-compatible formulas, data aggregation, over 500 functions, cross-table references, and custom names.

  • Excel Import/Export

    A JavaScript spreadsheet with full support for Excel import/export functionality.

  • Data Visualization With Charts and Sparklines

    Charts and sparklines make data clear and easy to understand. Most Excel charts, interactions, and animations enhance your dashboards and spreadsheets.

  • Multicultural Support

    You can localize your application by selecting from or customizing the CalcEngine Language pack. You can adjust not only the language but also currency, number separators, and more.

  • SpreadJS Template Designer

    Save time and energy on application development by easily designing templates with the WYSIWYG SpreadJS designer without coding.

    How to Use
  • TableSheet

    TableSheet is a separate, high-performance, enterprise-grade DataTable that adds the power of the SpreadJS spreadsheet calculation engine, runtime panels, and custom views to quickly handle your most demanding data binding requirements.

  • Data Manager

    SpreadJS Data Manager is a new data engine API built for performance that lets you connect to and interact with bound data in TableSheets through data relationships and views faster and easier than ever before.