zikofy 0.0.0 → 0.2.0
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/demos/solid/README.md +28 -0
- package/demos/solid/index.html +13 -0
- package/demos/solid/package-lock.json +1900 -0
- package/demos/solid/package.json +18 -0
- package/demos/solid/public/vite.svg +1 -0
- package/demos/solid/src/App.css +27 -0
- package/demos/solid/src/App.jsx +35 -0
- package/demos/solid/src/assets/solid.svg +1 -0
- package/demos/solid/src/index.css +68 -0
- package/demos/solid/src/index.jsx +11 -0
- package/demos/solid/vite.config.js +6 -0
- package/package.json +5 -2
- package/src/preact/domify.js +11 -0
- package/src/preact/index.d.ts +12 -0
- package/src/preact/index.js +2 -0
- package/src/preact/zikofy.js +10 -0
- package/src/react/zikofy.js +9 -6
- package/src/solid/domify.js +16 -0
- package/src/solid/index.d.ts +12 -0
- package/src/solid/index.js +2 -0
- package/src/solid/zikofy.js +10 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
## Usage
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
$ npm install # or pnpm install or yarn install
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
|
|
8
|
+
|
|
9
|
+
## Available Scripts
|
|
10
|
+
|
|
11
|
+
In the project directory, you can run:
|
|
12
|
+
|
|
13
|
+
### `npm run dev`
|
|
14
|
+
|
|
15
|
+
Runs the app in the development mode.<br>
|
|
16
|
+
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
|
|
17
|
+
|
|
18
|
+
### `npm run build`
|
|
19
|
+
|
|
20
|
+
Builds the app for production to the `dist` folder.<br>
|
|
21
|
+
It correctly bundles Solid in production mode and optimizes the build for the best performance.
|
|
22
|
+
|
|
23
|
+
The build is minified and the filenames include the hashes.<br>
|
|
24
|
+
Your app is ready to be deployed!
|
|
25
|
+
|
|
26
|
+
## Deployment
|
|
27
|
+
|
|
28
|
+
Learn more about deploying your application with the [documentations](https://vite.dev/guide/static-deploy.html)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>solidjs</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="root"></div>
|
|
11
|
+
<script type="module" src="/src/index.jsx"></script>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|