Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[update] the sections on package installation #8

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 1 addition & 36 deletions docs/angular_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,42 +52,7 @@ Now we should get the DHTMLX Spreadsheet code. First of all, we need to stop the

### Step 1. Package installation

There are two options available: you can install the **Pro** package from a local folder or install the **trial** version using `npm` or `yarn`.

#### Installing the package from a local folder

1. Copy the Spreadsheet package into some local directory inside the project
2. In the project directory run the command below replacing *spreadsheet-local-package-path* with the actual path:

~~~
npm install ./spreadsheet-local-package-path
//or
yarn add "./spreadsheet-local-package-path"
~~~

For example:

~~~
npm install ./spreadsheet_5.1.0_enterprise
// or
yarn add "./spreadsheet_5.1.0_enterprise"
~~~

#### Installing the trial version via a package manager

You can install the **trial** version of Spreadsheet using **npm** or **yarn** commands:

~~~jsx {2,3,6,7}
// npm
npm config set @dhx:registry https://npm.dhtmlx.com
npm i @dhx/trial-spreadsheet

// yarn
yarn config set @dhx:registry https://npm.dhtmlx.com
yarn add @dhx/trial-spreadsheet
~~~

To get Spreadsheet under the proprietary license, refer to the [Support Center](https://dhtmlx.com/docs/technical-support.shtml)!
Download the [**trial Spreadsheet package**](https://dhtmlx.com/docs/products/dhtmlxSpreadsheet/download.shtml) and follow the steps mentioned in the *README* file. Note that the trial Spreadsheet is available 30 days only.

### Step 2. Component creation

Expand Down
28 changes: 12 additions & 16 deletions docs/how_to_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ Start from creating an HTML file and call it *index.html*. Then proceed to inclu

There are two necessary files:

- the JS file of DHTMLX Spreadsheet
- the CSS file of DHTMLX Spreadsheet
- the *JS* file of DHTMLX Spreadsheet
- the *CSS* file of DHTMLX Spreadsheet

and

- the link to the Google Fonts source file for the correct rendering of fonts.

~~~html title="index.html"
~~~html {5-8} title="index.html"
<!DOCTYPE html>
<html>
<head>
Expand All @@ -43,24 +43,20 @@ and
</html>
~~~

:::info
You can also import Spreadsheet into your project using `yarn` or `npm` commands. To get the trial version of Spreadsheet, run the following commands:
### Installing Spreadsheet via npm and yarn

~~~jsx {2,3,6,7}
// npm
npm config set @dhx:registry https://npm.dhtmlx.com
npm i @dhx/trial-spreadsheet
You can import JavaScript Spreadsheet into your project using the `yarn` or `npm` package manager.

// yarn
yarn config set @dhx:registry https://npm.dhtmlx.com
yarn add @dhx/trial-spreadsheet
~~~
#### Installing trial Spreadsheet via npm and yarn

To get Spreadsheet under the proprietary license, refer to [**Support Center**](https://dhtmlx.com/docs/technical-support.shtml?_gl=1*18ffotg*_ga*MTA3MDMxMTAxNi4xNzAwNTcxNzU4*_ga_N87XPB4GSG*MTcwMTQzMjczMS4yOS4xLjE3MDE0MzI3OTUuNTYuMC4w&_ga=2.77564829.902258312.1701098802-1070311016.1700571758)!
:::info
If you want to use the trial version of Spreadsheet, download the [**trial Spreadsheet package**](https://dhtmlx.com/docs/products/dhtmlxSpreadsheet/download.shtml) and follow the steps mentioned in the *README* file. Note that the trial Spreadsheet is available 30 days only.
:::

:::tip
If you want to integrate JavaScript Spreadsheet into Svelte, React, Angular or Vue projects, refer to the corresponding [**Examples on CodeSandbox**](https://codesandbox.io/u/DHTMLX) for more information.
#### Installing PRO Spreadsheet via npm and yarn

:::info
If you already have Spreadsheet under the proprietary license, send your **license number** to the *[email protected]* email to receive a login and a password for a private **npm** as well as a detailed guide on how to install Spreadsheet. Note that a private **npm** is available before the expiration of the proprietary Spreadsheet license.
:::

## Step 2. Creating Spreadsheet
Expand Down
39 changes: 1 addition & 38 deletions docs/react_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,44 +60,7 @@ Now we should get the DHTMLX Spreadsheet code. First of all, we need to stop the

### Step 1. Package installation

There are two options available: you can install the **Pro** package from a local folder or install the **trial** version using `npm` or `yarn`.

#### Installing the package from a local folder

The instructions are the following:

1. Copy the Spreadsheet package into some local directory inside the project
2. In the project directory run the command below replacing *spreadsheet-local-package-path* with the actual path:

~~~
npm install ./spreadsheet-local-package-path
//or
yarn add "./spreadsheet-local-package-path"
~~~

For example:

~~~
npm install ./spreadsheet_5.1.0_enterprise
// or
yarn add "./spreadsheet_5.1.0_enterprise"
~~~

#### Installing the trial version via a package manager

You can install the **trial** version of Spreadsheet using **npm** or **yarn** commands:

~~~jsx {2,3,6,7}
// npm
npm config set @dhx:registry https://npm.dhtmlx.com
npm i @dhx/trial-spreadsheet

//yarn
yarn config set @dhx:registry https://npm.dhtmlx.com
yarn add @dhx/trial-spreadsheet
~~~

To get Spreadsheet under the proprietary license, refer to the [Support Center](https://dhtmlx.com/docs/technical-support.shtml)!
Download the [**trial Spreadsheet package**](https://dhtmlx.com/docs/products/dhtmlxSpreadsheet/download.shtml) and follow the steps mentioned in the *README* file. Note that the trial Spreadsheet is available 30 days only.

### Step 2. Component creation

Expand Down
39 changes: 1 addition & 38 deletions docs/svelte_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,44 +68,7 @@ Now we should get the DHTMLX Spreadsheet code. First of all, we need to stop the

### Step 1. Package installation

There are two options available: you can install the **Pro** package from a local folder or install the **trial** version using `npm` or `yarn`.

#### Installing the package from a local folder

The instructions are the following:

1. Copy the Spreadsheet package into some local directory inside the project
2. In the project directory run the command below replacing *spreadsheet-local-package-path* with the actual path:

~~~
npm install ./spreadsheet-local-package-path
//or
yarn add "./spreadsheet-local-package-path"
~~~

For example:

~~~
npm install ./spreadsheet_5.1.0_enterprise
// or
yarn add "./spreadsheet_5.1.0_enterprise"
~~~

#### Installing the trial version via a package manager

You can install the **trial** version of Spreadsheet using **npm** or **yarn** commands:

~~~jsx {2,3,6,7}
// npm
npm config set @dhx:registry https://npm.dhtmlx.com
npm i @dhx/trial-spreadsheet

// yarn
yarn config set @dhx:registry https://npm.dhtmlx.com
yarn add @dhx/trial-spreadsheet
~~~

To get Spreadsheet under the proprietary license, refer to the [Support Center](https://dhtmlx.com/docs/technical-support.shtml)!
Download the [**trial Spreadsheet package**](https://dhtmlx.com/docs/products/dhtmlxSpreadsheet/download.shtml) and follow the steps mentioned in the *README* file. Note that the trial Spreadsheet is available 30 days only.

### Step 2. Component creation

Expand Down
39 changes: 1 addition & 38 deletions docs/vuejs_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,44 +61,7 @@ Now we should get the DHTMLX Spreadsheet code. First of all, we need to stop the

### Step 1. Package installation

There are two options available: you can install the **Pro** package from a local folder or install the **trial** version using `npm` or `yarn`.

#### Installing the package from a local folder

The instructions are the following:

1. Copy the Spreadsheet package into some local directory inside the project
2. In the project directory run the command below replacing *spreadsheet-local-package-path* with the actual path:

~~~
npm install ./spreadsheet-local-package-path
//or
yarn add "./spreadsheet-local-package-path"
~~~

For example:

~~~
npm install ./spreadsheet_5.1.0_enterprise
// or
yarn add "./spreadsheet_5.1.0_enterprise"
~~~

#### Installing the trial version via a package manager

You can install the **trial** version of Spreadsheet using **npm** or **yarn** commands:

~~~jsx {2,3,6,7}
// npm
npm config set @dhx:registry https://npm.dhtmlx.com
npm i @dhx/trial-spreadsheet

// yarn
yarn config set @dhx:registry https://npm.dhtmlx.com
yarn add @dhx/trial-spreadsheet
~~~

To get Spreadsheet under the proprietary license, refer to the [Support Center](https://dhtmlx.com/docs/technical-support.shtml)!
Download the [**trial Spreadsheet package**](https://dhtmlx.com/docs/products/dhtmlxSpreadsheet/download.shtml) and follow the steps mentioned in the *README* file. Note that the trial Spreadsheet is available 30 days only.

### Step 2. Component creation

Expand Down
Loading