5.10.9 • Published 1 year ago

@upswot/sample v5.10.9

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Sample

This mini project is designed to quickly create a basic widget (component) with the necessary structure.

Each widget (component) has a componentId property and it is unique for each, don't forget about it.

All necessary variables, classes, file names have the word (and then the variable) sample in the name, example:

import { SAMPLE_CONST } from '../constants'
:host,
.sample,
.simplebar-content{
  height: 100%;
}

.sample {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: var(--widget-container-border);
  background: var(--color-neutral-0);
  overflow: hidden;
  transform: scale(1);
}

файлы: src/api/getSampleList.ts, src/components/sampleChild.ts и т.д.

How to start/Visual Example

1.Copying the project

Duplicate entire project packages/sample.

logo_1

2.Naming

Change the copied project to your name, for example the module will be called campaign.

logo_2

3.Replacing variables within files

Here we replace all our sample variables inside files

logo_3

logo_4

logo_5

4.Rename files(Now not actual)

In this paragraph, we rename the files in which the name uses the sample variable and replace it with our name

logo_6

logo_7

5.Result of renamed files(Now not actual)

logo_8

6.Replacement in the global package.json

Copy all instructions that use the sample variable

logo_9

replace with our module name

logo_10

7.Installing a dependency

logo_11

8.Module launch

logo_12

9.Result

logo_13

5.10.9

1 year ago

5.10.8

1 year ago

5.5.11

1 year ago

5.5.5

1 year ago

5.5.4

1 year ago

5.5.1

1 year ago

4.40.2

1 year ago

4.40.2-alpha.0

1 year ago

4.40.1

1 year ago

4.40.1-beta.0

1 year ago

4.40.1-beta

1 year ago

4.40.1-alpha

1 year ago

4.35.7-alpha

1 year ago

4.35.7

1 year ago

4.35.4-alpha

1 year ago

4.35.4

2 years ago

4.35.3

2 years ago

4.35.1

2 years ago

4.35.1-alpha

2 years ago

4.30.9

2 years ago

4.25.10

2 years ago

4.15.10

2 years ago

4.20.6

2 years ago

4.20.7

2 years ago

4.20.9

2 years ago

4.15.4

2 years ago

4.15.5

2 years ago

4.30.8

2 years ago

4.15.7

2 years ago

4.15.1

2 years ago

4.15.2

2 years ago

4.15.3

2 years ago

4.15.8

2 years ago

4.15.9

2 years ago

4.20.2

2 years ago

4.20.3

2 years ago

4.20.4

2 years ago

4.20.5

2 years ago

4.20.1

2 years ago

4.25.5

2 years ago

4.25.6

2 years ago

4.25.7

2 years ago

4.25.8

2 years ago

4.25.1

2 years ago

4.25.2

2 years ago

4.25.3

2 years ago

4.25.4

2 years ago

4.25.9

2 years ago

4.20.10

2 years ago

4.20.12

2 years ago

4.20.11

2 years ago

4.30.2

2 years ago

4.30.1

2 years ago

4.20.17

2 years ago

4.30.6

2 years ago

4.20.14

2 years ago

4.30.5

2 years ago

4.20.13

2 years ago

4.30.4

2 years ago

4.30.3

2 years ago

4.20.15

2 years ago

4.10.12

2 years ago

4.10.13

2 years ago

4.10.9

2 years ago

4.10.5

2 years ago

4.10.6

2 years ago

4.10.7

2 years ago

4.10.8

2 years ago

3.15.21

2 years ago

3.15.20

2 years ago

4.10.10

2 years ago

3.15.19

2 years ago

4.10.11

2 years ago

3.15.18

2 years ago

3.15.17

2 years ago

3.15.16

2 years ago

3.15.15

2 years ago

4.10.1

2 years ago

4.10.2

2 years ago

4.10.3

2 years ago

4.10.4

2 years ago

4.10.0

2 years ago

3.15.14

2 years ago

3.15.13

2 years ago

3.15.12

2 years ago

3.15.11

2 years ago

3.15.10

2 years ago

3.15.9

2 years ago