html-component-engine 0.1.2 → 0.1.3
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 +36 -36
- package/bin/cli.js +529 -529
- package/package.json +37 -37
- package/src/engine/compiler.js +317 -312
- package/src/engine/utils.js +74 -74
package/README.md
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
# HTML Component Engine
|
|
2
|
-
|
|
3
|
-
A lightweight Vite plugin for HTML components.
|
|
4
|
-
|
|
5
|
-
## Quick Start
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx html-component-engine
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Commands
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm run dev # Development server
|
|
15
|
-
npm run build # Production build
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Project Structure
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
src/
|
|
22
|
-
index.html
|
|
23
|
-
about.html
|
|
24
|
-
components/
|
|
25
|
-
Header.html
|
|
26
|
-
Footer.html
|
|
27
|
-
Card.html
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Build Output
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
dist/
|
|
34
|
-
index.html
|
|
35
|
-
about.html
|
|
36
|
-
```
|
|
1
|
+
# HTML Component Engine
|
|
2
|
+
|
|
3
|
+
A lightweight Vite plugin for HTML components.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx html-component-engine
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Commands
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm run dev # Development server
|
|
15
|
+
npm run build # Production build
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Project Structure
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
src/
|
|
22
|
+
index.html
|
|
23
|
+
about.html
|
|
24
|
+
components/
|
|
25
|
+
Header.html
|
|
26
|
+
Footer.html
|
|
27
|
+
Card.html
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Build Output
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
dist/
|
|
34
|
+
index.html
|
|
35
|
+
about.html
|
|
36
|
+
```
|