5.10.9 • Published 18 days ago

@upswot/sample v5.10.9

Weekly downloads
-
License
MIT
Repository
-
Last release
18 days 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

18 days ago

5.10.8

21 days ago

5.5.11

1 month ago

5.5.5

2 months ago

5.5.4

2 months ago

5.5.1

2 months ago

4.40.2

3 months ago

4.40.2-alpha.0

3 months ago

4.40.1

3 months ago

4.40.1-beta.0

3 months ago

4.40.1-beta

4 months ago

4.40.1-alpha

4 months ago

4.35.7-alpha

4 months ago

4.35.7

4 months ago

4.35.4-alpha

4 months ago

4.35.4

5 months ago

4.35.3

5 months ago

4.35.1

5 months ago

4.35.1-alpha

5 months ago

4.30.9

5 months ago

4.25.10

7 months ago

4.15.10

9 months ago

4.20.6

9 months ago

4.20.7

9 months ago

4.20.9

9 months ago

4.15.4

10 months ago

4.15.5

10 months ago

4.30.8

6 months ago

4.15.7

10 months ago

4.15.1

10 months ago

4.15.2

10 months ago

4.15.3

10 months ago

4.15.8

10 months ago

4.15.9

10 months ago

4.20.2

9 months ago

4.20.3

9 months ago

4.20.4

9 months ago

4.20.5

9 months ago

4.20.1

9 months ago

4.25.5

8 months ago

4.25.6

8 months ago

4.25.7

8 months ago

4.25.8

8 months ago

4.25.1

8 months ago

4.25.2

8 months ago

4.25.3

8 months ago

4.25.4

8 months ago

4.25.9

7 months ago

4.20.10

9 months ago

4.20.12

9 months ago

4.20.11

9 months ago

4.30.2

6 months ago

4.30.1

6 months ago

4.20.17

9 months ago

4.30.6

6 months ago

4.20.14

9 months ago

4.30.5

6 months ago

4.20.13

9 months ago

4.30.4

6 months ago

4.30.3

6 months ago

4.20.15

9 months ago

4.10.12

11 months ago

4.10.13

11 months ago

4.10.9

11 months ago

4.10.5

11 months ago

4.10.6

11 months ago

4.10.7

11 months ago

4.10.8

11 months ago

4.10.1-alpha.43831

11 months ago

4.10.1-alpha.43834

11 months ago

3.15.21

12 months ago

3.15.20

12 months ago

4.10.10

11 months ago

3.15.19

12 months ago

4.10.11

11 months ago

3.15.18

12 months ago

3.15.17

12 months ago

3.15.16

12 months ago

3.15.15

12 months ago

4.10.1-alpha.43783

11 months ago

4.10.1

11 months ago

4.10.2

11 months ago

4.10.3

11 months ago

4.10.4

11 months ago

4.10.0

11 months ago

3.15.14

1 year ago

3.15.13

1 year ago

3.15.12

1 year ago

3.15.11

1 year ago

3.15.10

1 year ago

3.15.9

1 year ago