juxtapose 4.0.62 → 4.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,16 +20,6 @@ You can also clone the repository with [Git](https://git-scm.com/)...
|
|
|
20
20
|
|
|
21
21
|
You can also run a development server, see the section on building later on.
|
|
22
22
|
|
|
23
|
-
## Usage
|
|
24
|
-
|
|
25
|
-
There is nothing more to do other than import the package:
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
import "juxtapose";
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Once this is done, JSX can be used directly.
|
|
32
|
-
|
|
33
23
|
## Examples
|
|
34
24
|
|
|
35
25
|
There is a small development server that can be run from within the project's directory with the following command:
|
|
@@ -46,6 +36,18 @@ The source for the examples can be found in the `src/examples.js` file and corre
|
|
|
46
36
|
|
|
47
37
|
The development server will reload the page whenever you make changes.
|
|
48
38
|
|
|
39
|
+
One last thing to bear in mind is that this package is included by way of a relative rather than a package import. If you are importing it into your own application, however, you should use the standard package import.
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
There is nothing more to do other than import the package:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
import "juxtapose";
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Once this is done, JSX can be used directly.
|
|
50
|
+
|
|
49
51
|
## Building
|
|
50
52
|
|
|
51
53
|
Automation is done with [npm scripts](https://docs.npmjs.com/misc/scripts), have a look at the `package.json` file. The pertinent commands are:
|