Visual Studio Code Extensions

15 Mar 20232 minutes to read

Create project

Syncfusion provides project templates for Visual Studio Code to create Syncfusion Web applications. The Syncfusion Web Project template creates applications with the selected Framework (React, Angular, and Vue), required Syncfusion NPM packages, component render code for the Grid, Chart, and Scheduler components, and a style to make development with Syncfusion components easier.

The Syncfusion Visual Studio Code project template provides support for Web project templates from v18.3.0.47.

The steps below help you to create Syncfusion Web Applications through the Visual Studio Code:

  1. In Visual Studio Code, open the command palette by pressing Ctrl+Shift+P. The Visual Studio Code palette opens, search the word Syncfusion, so you can get the templates provided.

    CreateProjectPalette

  2. Select Syncfusion Web Template Studio: Launch and then press enter, Template Studio wizard for configuring the Syncfusion Web app will appear. Provide the require Project Name and Path to create the new Syncfusion Web application along with any one of the Framework (React, Angular, and Vue).

    ProjectLocation

  3. Click either Next or Framework tab, and the Framework types will be appears. Choose any one of the Framework:
    • React
    • Angular
    • Vue

      Framework

    If you choose the Vue framework, the Select Vue Version option will appear in the Project Details section. You can create the Vue application using either the Vue 3 or Vue 2 versions.

    VueVersions

  4. Click either Next or the Configuration tab, and the Configuration section will be loaded. Choose the preferred theme and then click Create. The project will be created.
    Themes

  5. The created Syncfusion Web App is configured with the Syncfusion NPM packages, styles, and the component render code for the Syncfusion component added.

    NPM Packages

    Styles

    Components

Run the application

  1. Click on F5 or navigate to Run>Start debugging

    Run

  2. After compilation process completed, open the local host link in browser to see the output.

    Output

Add Syncfusion component to the application

We have showcased the Chart, Grid and Schedule component in Syncfusion web application. If you want to create your application with other Syncfusion components, you need to install the required component package and then you can add it in your application. To know about npm package installation, refer to the installation section.

Upgrading the npm packages

While creating the new Syncfusion web app, it install the npm packages with latest version. If you want to use your existing project in future, you can update the npm packages without uninstalling it. Refer to the update npm packages section for upgrading the package.