ui-thing 0.0.4 → 0.0.5
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/.github/workflows/main.yml +19 -0
- package/.prettierrc +12 -12
- package/CHANGELOG.md +32 -129
- package/README.md +69 -69
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
- package/src/commands/add.ts +237 -237
- package/src/commands/init.ts +72 -72
- package/src/commands/prettier.ts +47 -47
- package/src/commands/theme.ts +61 -61
- package/src/comp.ts +2134 -2134
- package/src/index.ts +30 -30
- package/src/templates/css.ts +641 -641
- package/src/templates/prettier.ts +16 -16
- package/src/templates/tailwind.ts +101 -101
- package/src/types.ts +13 -13
- package/src/utils/addPrettierConfig.ts +24 -24
- package/src/utils/compareUIConfig.ts +35 -35
- package/src/utils/config.ts +84 -84
- package/src/utils/constants.ts +36 -36
- package/src/utils/fileExists.ts +10 -10
- package/src/utils/installPackages.ts +28 -28
- package/src/utils/printFancyBoxMessage.ts +19 -19
- package/src/utils/promptForComponents.ts +17 -17
- package/src/utils/uiConfigPrompt.ts +73 -73
- package/src/utils/writeFile.ts +18 -18
- package/tsconfig.json +16 -16
- package/tsup.config.ts +12 -12
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v3
|
|
13
|
+
- name: Install dependencies
|
|
14
|
+
run: npm install
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
|
+
with:
|
|
17
|
+
node-version: "18.x"
|
|
18
|
+
- name: Build
|
|
19
|
+
run: npm run format && npm run build
|
package/.prettierrc
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"arrowParens": "always",
|
|
3
|
-
"endOfLine": "lf",
|
|
4
|
-
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
|
5
|
-
"printWidth": 100,
|
|
6
|
-
"semi": true,
|
|
7
|
-
"singleQuote": false,
|
|
8
|
-
"tabWidth": 2,
|
|
9
|
-
"trailingComma": "es5",
|
|
10
|
-
"useTabs": false,
|
|
11
|
-
"importOrder": ["<BUILTIN_MODULES>", "<THIRD_PARTY_MODULES>", "<TYPES>", "", "^[.]"]
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"arrowParens": "always",
|
|
3
|
+
"endOfLine": "lf",
|
|
4
|
+
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
|
5
|
+
"printWidth": 100,
|
|
6
|
+
"semi": true,
|
|
7
|
+
"singleQuote": false,
|
|
8
|
+
"tabWidth": 2,
|
|
9
|
+
"trailingComma": "es5",
|
|
10
|
+
"useTabs": false,
|
|
11
|
+
"importOrder": ["<BUILTIN_MODULES>", "<THIRD_PARTY_MODULES>", "<TYPES>", "", "^[.]"]
|
|
12
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,138 +1,41 @@
|
|
|
1
|
-
# Changelog
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## v0.0.5
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
## v0.0.4
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
### 🚀 Enhancements
|
|
8
|
-
|
|
9
|
-
- Update cards page ([14494ec](https://github.com/BayBreezy/ui-thing/commit/14494ec))
|
|
10
|
-
- Add dashboard example ([f61df16](https://github.com/BayBreezy/ui-thing/commit/f61df16))
|
|
11
|
-
- Start combobox ([f22ce19](https://github.com/BayBreezy/ui-thing/commit/f22ce19))
|
|
12
|
-
- Update command & combobox components ([40b9a97](https://github.com/BayBreezy/ui-thing/commit/40b9a97))
|
|
13
|
-
- Add OTP component ([577626b](https://github.com/BayBreezy/ui-thing/commit/577626b))
|
|
14
|
-
- Add form otp component ([d6da3f4](https://github.com/BayBreezy/ui-thing/commit/d6da3f4))
|
|
15
|
-
- Add pagination component ([ec9ccd5](https://github.com/BayBreezy/ui-thing/commit/ec9ccd5))
|
|
16
|
-
- Add toast component ([a5a4e55](https://github.com/BayBreezy/ui-thing/commit/a5a4e55))
|
|
17
|
-
- Add form ([af26438](https://github.com/BayBreezy/ui-thing/commit/af26438))
|
|
18
|
-
- Add vue-sonner ([8c5d01a](https://github.com/BayBreezy/ui-thing/commit/8c5d01a))
|
|
19
|
-
- Add shortcut composable ([b926345](https://github.com/BayBreezy/ui-thing/commit/b926345))
|
|
20
|
-
- Add vee components ([01a5228](https://github.com/BayBreezy/ui-thing/commit/01a5228))
|
|
21
|
-
- Start cli ([a3299e9](https://github.com/BayBreezy/ui-thing/commit/a3299e9))
|
|
22
|
-
- Add new commands to cli ([8ed1cb4](https://github.com/BayBreezy/ui-thing/commit/8ed1cb4))
|
|
23
|
-
- Update installPackages file ([45e59bb](https://github.com/BayBreezy/ui-thing/commit/45e59bb))
|
|
24
|
-
- Update component.js file Manually update nuxt config for vue-sonner ([3e3c952](https://github.com/BayBreezy/ui-thing/commit/3e3c952))
|
|
25
|
-
|
|
26
|
-
### 🩹 Fixes
|
|
27
|
-
|
|
28
|
-
- Remove command example from page ([1239d58](https://github.com/BayBreezy/ui-thing/commit/1239d58))
|
|
29
|
-
- Add v-model support to textarea ([78f2666](https://github.com/BayBreezy/ui-thing/commit/78f2666))
|
|
30
|
-
- Zoom on ios mobile ofr input size ([ff4d5e2](https://github.com/BayBreezy/ui-thing/commit/ff4d5e2))
|
|
31
|
-
- Add button styles utils to alert-dialog ([bd12e3a](https://github.com/BayBreezy/ui-thing/commit/bd12e3a))
|
|
32
|
-
|
|
33
|
-
### 📖 Documentation
|
|
34
|
-
|
|
35
|
-
- Update sidebar scroll area ([3ef4c15](https://github.com/BayBreezy/ui-thing/commit/3ef4c15))
|
|
36
|
-
- Update next and prev components ([d0a91b6](https://github.com/BayBreezy/ui-thing/commit/d0a91b6))
|
|
37
|
-
- Update padding on dashboard ([b2b4e88](https://github.com/BayBreezy/ui-thing/commit/b2b4e88))
|
|
38
|
-
- Update credits ([e389811](https://github.com/BayBreezy/ui-thing/commit/e389811))
|
|
5
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.3...v0.0.5)
|
|
39
6
|
|
|
40
7
|
### 🏡 Chore
|
|
41
8
|
|
|
42
|
-
- Update
|
|
43
|
-
- Update
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
- Update tailwind ring color ([3fb1af8](https://github.com/BayBreezy/ui-thing/commit/3fb1af8))
|
|
47
|
-
- Start datatable ([47b3905](https://github.com/BayBreezy/ui-thing/commit/47b3905))
|
|
48
|
-
- Update datatable ([f798a8d](https://github.com/BayBreezy/ui-thing/commit/f798a8d))
|
|
49
|
-
- Update table and add breadcrumbs ([411eb63](https://github.com/BayBreezy/ui-thing/commit/411eb63))
|
|
50
|
-
- Update deps ([5408756](https://github.com/BayBreezy/ui-thing/commit/5408756))
|
|
51
|
-
- Add dropfile ([ee206e6](https://github.com/BayBreezy/ui-thing/commit/ee206e6))
|
|
52
|
-
- Add native select ([5d7da05](https://github.com/BayBreezy/ui-thing/commit/5d7da05))
|
|
53
|
-
- Enable takeover mode ([34a2333](https://github.com/BayBreezy/ui-thing/commit/34a2333))
|
|
54
|
-
- Update deps ([18943e1](https://github.com/BayBreezy/ui-thing/commit/18943e1))
|
|
55
|
-
- Update deps & select components ([733f9ac](https://github.com/BayBreezy/ui-thing/commit/733f9ac))
|
|
56
|
-
- Update deps ([fccda4d](https://github.com/BayBreezy/ui-thing/commit/fccda4d))
|
|
57
|
-
- Update dropdownmenu ([9684eda](https://github.com/BayBreezy/ui-thing/commit/9684eda))
|
|
58
|
-
- Update deps ([8fdde56](https://github.com/BayBreezy/ui-thing/commit/8fdde56))
|
|
59
|
-
- Update deps ([95994f5](https://github.com/BayBreezy/ui-thing/commit/95994f5))
|
|
60
|
-
- Update deps and format code ([ea614f3](https://github.com/BayBreezy/ui-thing/commit/ea614f3))
|
|
61
|
-
- Update accordion ([9a0c93a](https://github.com/BayBreezy/ui-thing/commit/9a0c93a))
|
|
62
|
-
- Update popover ([d5e9636](https://github.com/BayBreezy/ui-thing/commit/d5e9636))
|
|
63
|
-
- Remove hydration warning ([44909fe](https://github.com/BayBreezy/ui-thing/commit/44909fe))
|
|
64
|
-
- Update alert ([91ac054](https://github.com/BayBreezy/ui-thing/commit/91ac054))
|
|
65
|
-
- Change to new doc layout ([c802292](https://github.com/BayBreezy/ui-thing/commit/c802292))
|
|
66
|
-
- Update up to button ([513bd33](https://github.com/BayBreezy/ui-thing/commit/513bd33))
|
|
67
|
-
- Update calendar ([e25caa4](https://github.com/BayBreezy/ui-thing/commit/e25caa4))
|
|
68
|
-
- **calendar:** Update docs for calendar ([dd33f32](https://github.com/BayBreezy/ui-thing/commit/dd33f32))
|
|
69
|
-
- Update checkbox ([8b50395](https://github.com/BayBreezy/ui-thing/commit/8b50395))
|
|
70
|
-
- Update collapsible ([fae10e1](https://github.com/BayBreezy/ui-thing/commit/fae10e1))
|
|
71
|
-
- **command:** Update command ([8b33da8](https://github.com/BayBreezy/ui-thing/commit/8b33da8))
|
|
72
|
-
- Update context menu ([1703206](https://github.com/BayBreezy/ui-thing/commit/1703206))
|
|
73
|
-
- Update breadcrumbs ([5fe90c9](https://github.com/BayBreezy/ui-thing/commit/5fe90c9))
|
|
74
|
-
- Update tanstack table ([1013200](https://github.com/BayBreezy/ui-thing/commit/1013200))
|
|
75
|
-
- Update datepicker ([efbdc61](https://github.com/BayBreezy/ui-thing/commit/efbdc61))
|
|
76
|
-
- Update dialog ([1a4b8be](https://github.com/BayBreezy/ui-thing/commit/1a4b8be))
|
|
77
|
-
- Update dialog ([0281b55](https://github.com/BayBreezy/ui-thing/commit/0281b55))
|
|
78
|
-
- Update dropdown menu ([b1a4545](https://github.com/BayBreezy/ui-thing/commit/b1a4545))
|
|
79
|
-
- Update dropdown menu ([49bf39d](https://github.com/BayBreezy/ui-thing/commit/49bf39d))
|
|
80
|
-
- Add form example and zod ([4cb4443](https://github.com/BayBreezy/ui-thing/commit/4cb4443))
|
|
81
|
-
- Update hover card ([6f15bf8](https://github.com/BayBreezy/ui-thing/commit/6f15bf8))
|
|
82
|
-
- Update input & label ([9278c7c](https://github.com/BayBreezy/ui-thing/commit/9278c7c))
|
|
83
|
-
- Update menubar ([1b08f04](https://github.com/BayBreezy/ui-thing/commit/1b08f04))
|
|
84
|
-
- Update navigation menu comp ([de3413b](https://github.com/BayBreezy/ui-thing/commit/de3413b))
|
|
85
|
-
- Update pagination ([86260d9](https://github.com/BayBreezy/ui-thing/commit/86260d9))
|
|
86
|
-
- Update popover ([57e5609](https://github.com/BayBreezy/ui-thing/commit/57e5609))
|
|
87
|
-
- Update progress ([f12dca9](https://github.com/BayBreezy/ui-thing/commit/f12dca9))
|
|
88
|
-
- Update radio group and form ([55da5a5](https://github.com/BayBreezy/ui-thing/commit/55da5a5))
|
|
89
|
-
- Update scroll area comp ([0dfb189](https://github.com/BayBreezy/ui-thing/commit/0dfb189))
|
|
90
|
-
- Update select ([394f6f7](https://github.com/BayBreezy/ui-thing/commit/394f6f7))
|
|
91
|
-
- Update separator ([28a16ae](https://github.com/BayBreezy/ui-thing/commit/28a16ae))
|
|
92
|
-
- Sheet update ([8f3f54e](https://github.com/BayBreezy/ui-thing/commit/8f3f54e))
|
|
93
|
-
- Update skeleton ([a6ffde6](https://github.com/BayBreezy/ui-thing/commit/a6ffde6))
|
|
94
|
-
- Update slider ([8194b3c](https://github.com/BayBreezy/ui-thing/commit/8194b3c))
|
|
95
|
-
- Switch updated ([d1e6421](https://github.com/BayBreezy/ui-thing/commit/d1e6421))
|
|
96
|
-
- Update table comps ([261bb8e](https://github.com/BayBreezy/ui-thing/commit/261bb8e))
|
|
97
|
-
- Update tabs ([b834087](https://github.com/BayBreezy/ui-thing/commit/b834087))
|
|
98
|
-
- Update textarea ([b1f10ac](https://github.com/BayBreezy/ui-thing/commit/b1f10ac))
|
|
99
|
-
- Udpate toggle ([d06f147](https://github.com/BayBreezy/ui-thing/commit/d06f147))
|
|
100
|
-
- Update tooltip ([33cbf3a](https://github.com/BayBreezy/ui-thing/commit/33cbf3a))
|
|
101
|
-
- Update kbd ([0bce1c6](https://github.com/BayBreezy/ui-thing/commit/0bce1c6))
|
|
102
|
-
- Update otp ([e01e2b4](https://github.com/BayBreezy/ui-thing/commit/e01e2b4))
|
|
103
|
-
- Update dropfile ([287ce01](https://github.com/BayBreezy/ui-thing/commit/287ce01))
|
|
104
|
-
- Update toast ([0967ba3](https://github.com/BayBreezy/ui-thing/commit/0967ba3))
|
|
105
|
-
- Add form example for switch ([a905a5f](https://github.com/BayBreezy/ui-thing/commit/a905a5f))
|
|
106
|
-
- Add example route ([e05aa5a](https://github.com/BayBreezy/ui-thing/commit/e05aa5a))
|
|
107
|
-
- Update examples ([7d0ad3b](https://github.com/BayBreezy/ui-thing/commit/7d0ad3b))
|
|
108
|
-
- Change combobox to autocomplete ([2d9eb46](https://github.com/BayBreezy/ui-thing/commit/2d9eb46))
|
|
109
|
-
- Add combobox ([fa101cf](https://github.com/BayBreezy/ui-thing/commit/fa101cf))
|
|
110
|
-
- Add component search ([4616ce6](https://github.com/BayBreezy/ui-thing/commit/4616ce6))
|
|
111
|
-
- Close modal after selecting theme ([3de019c](https://github.com/BayBreezy/ui-thing/commit/3de019c))
|
|
112
|
-
- Add vee select ([a21ca6e](https://github.com/BayBreezy/ui-thing/commit/a21ca6e))
|
|
113
|
-
- Update checkbox ([7a72412](https://github.com/BayBreezy/ui-thing/commit/7a72412))
|
|
114
|
-
- Refactor pagination UI in TanStackTable.vue ([39e4380](https://github.com/BayBreezy/ui-thing/commit/39e4380))
|
|
115
|
-
- Update card page ([17dce70](https://github.com/BayBreezy/ui-thing/commit/17dce70))
|
|
116
|
-
- Update new versions of dependencies ([a76d496](https://github.com/BayBreezy/ui-thing/commit/a76d496))
|
|
117
|
-
- Update deps ([3a34b9b](https://github.com/BayBreezy/ui-thing/commit/3a34b9b))
|
|
118
|
-
- Update deps ([e0218a8](https://github.com/BayBreezy/ui-thing/commit/e0218a8))
|
|
119
|
-
- Remove auto animate from nuxt config ([c4b96f9](https://github.com/BayBreezy/ui-thing/commit/c4b96f9))
|
|
120
|
-
- Update add command to respect ui-thing config ([7703966](https://github.com/BayBreezy/ui-thing/commit/7703966))
|
|
121
|
-
- Update deps & commands & utils ([19dbcb8](https://github.com/BayBreezy/ui-thing/commit/19dbcb8))
|
|
122
|
-
- Update deps ([ef6465d](https://github.com/BayBreezy/ui-thing/commit/ef6465d))
|
|
123
|
-
- Remove unused imports & format ([c255c1d](https://github.com/BayBreezy/ui-thing/commit/c255c1d))
|
|
124
|
-
- Fix import paths in add.ts and config.ts ([c1dc73e](https://github.com/BayBreezy/ui-thing/commit/c1dc73e))
|
|
125
|
-
- Update toast comps and deps ([d5a5305](https://github.com/BayBreezy/ui-thing/commit/d5a5305))
|
|
126
|
-
- Update comps & docs ([f05373c](https://github.com/BayBreezy/ui-thing/commit/f05373c))
|
|
127
|
-
- Add cli page ([9dea6ce](https://github.com/BayBreezy/ui-thing/commit/9dea6ce))
|
|
128
|
-
- Update width of search in nav & add cli page ([1c3ebcd](https://github.com/BayBreezy/ui-thing/commit/1c3ebcd))
|
|
129
|
-
- Add seo stuff ([d2d44bc](https://github.com/BayBreezy/ui-thing/commit/d2d44bc))
|
|
130
|
-
- Update cli ([432607d](https://github.com/BayBreezy/ui-thing/commit/432607d))
|
|
131
|
-
- Update cover image in readme ([3eb2816](https://github.com/BayBreezy/ui-thing/commit/3eb2816))
|
|
132
|
-
- Change wording of force option question ([fe5fe6c](https://github.com/BayBreezy/ui-thing/commit/fe5fe6c))
|
|
9
|
+
- Update release script ([c53b0d4](https://github.com/BayBreezy/ui-thing-cli/commit/c53b0d4))
|
|
10
|
+
- Update readme ([1d95ccb](https://github.com/BayBreezy/ui-thing-cli/commit/1d95ccb))
|
|
11
|
+
- Split cli from website repo ([66f2b3c](https://github.com/BayBreezy/ui-thing-cli/commit/66f2b3c))
|
|
12
|
+
- Update deps ([3d90848](https://github.com/BayBreezy/ui-thing-cli/commit/3d90848))
|
|
133
13
|
|
|
134
14
|
### ❤️ Contributors
|
|
135
15
|
|
|
136
|
-
- BayBreezy <behon.baker@yahoo.com>
|
|
137
16
|
- Behon Baker <behon.baker@yahoo.com>
|
|
138
17
|
|
|
18
|
+
## v0.0.3
|
|
19
|
+
|
|
20
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.2...v0.0.3)
|
|
21
|
+
|
|
22
|
+
### 🏡 Chore
|
|
23
|
+
|
|
24
|
+
- Update readme ([88be325](https://github.com/BayBreezy/ui-thing-cli/commit/88be325))
|
|
25
|
+
- Change package name ([bd17f8d](https://github.com/BayBreezy/ui-thing-cli/commit/bd17f8d))
|
|
26
|
+
- Set version back to 0.0.2 ([1c7b6b2](https://github.com/BayBreezy/ui-thing-cli/commit/1c7b6b2))
|
|
27
|
+
|
|
28
|
+
### ❤️ Contributors
|
|
29
|
+
|
|
30
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
31
|
+
|
|
32
|
+
## v0.0.2
|
|
33
|
+
|
|
34
|
+
### 🏡 Chore
|
|
35
|
+
|
|
36
|
+
- Add 1st changeset ([ec0083c](https://github.com/BayBreezy/ui-thing-cli/commit/ec0083c))
|
|
37
|
+
- Add release script ([ea11cae](https://github.com/BayBreezy/ui-thing-cli/commit/ea11cae))
|
|
38
|
+
|
|
39
|
+
### ❤️ Contributors
|
|
40
|
+
|
|
41
|
+
- Behon Baker <behon.baker@yahoo.com>
|
package/README.md
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# UI Thing CLI
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-
|
|
5
|
-
## Credits
|
|
6
|
-
|
|
7
|
-
- shadcn/ui
|
|
8
|
-
- Radiv-Vue
|
|
9
|
-
- TailwindCSS
|
|
10
|
-
- Nuxt
|
|
11
|
-
- Nuxt UI
|
|
12
|
-
|
|
13
|
-
Thanks to the maintainers of the other third party libraries used in this project.
|
|
14
|
-
|
|
15
|
-
## Getting Started
|
|
16
|
-
|
|
17
|
-
- Create a Nuxt 3 project
|
|
18
|
-
- Install the dependencies
|
|
19
|
-
- Run the init command
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npx ui-thing@latest init
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
- Start the dev server
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
npm run dev
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
- Add components to your project with the `add` command
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
npx ui-thing@latest add
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Commands
|
|
38
|
-
|
|
39
|
-
### `init`
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
npx ui-thing@latest init
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
This command will install the dependencies and add the required configuration to your project.
|
|
46
|
-
|
|
47
|
-
### `add`
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
npx ui-thing@latest add
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
This command will add the components to your project.
|
|
54
|
-
|
|
55
|
-
### `theme`
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
npx ui-thing@latest theme
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
This command will add the theme to your project.
|
|
62
|
-
|
|
63
|
-
### `prettier`
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
npx ui-thing@latest prettier
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
This command will add the prettier configuration to your project.
|
|
1
|
+
# UI Thing CLI
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
## Credits
|
|
6
|
+
|
|
7
|
+
- shadcn/ui
|
|
8
|
+
- Radiv-Vue
|
|
9
|
+
- TailwindCSS
|
|
10
|
+
- Nuxt
|
|
11
|
+
- Nuxt UI
|
|
12
|
+
|
|
13
|
+
Thanks to the maintainers of the other third party libraries used in this project.
|
|
14
|
+
|
|
15
|
+
## Getting Started
|
|
16
|
+
|
|
17
|
+
- Create a Nuxt 3 project
|
|
18
|
+
- Install the dependencies
|
|
19
|
+
- Run the init command
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx ui-thing@latest init
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- Start the dev server
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm run dev
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- Add components to your project with the `add` command
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npx ui-thing@latest add
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Commands
|
|
38
|
+
|
|
39
|
+
### `init`
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx ui-thing@latest init
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
This command will install the dependencies and add the required configuration to your project.
|
|
46
|
+
|
|
47
|
+
### `add`
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npx ui-thing@latest add
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
This command will add the components to your project.
|
|
54
|
+
|
|
55
|
+
### `theme`
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx ui-thing@latest theme
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
This command will add the theme to your project.
|
|
62
|
+
|
|
63
|
+
### `prettier`
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npx ui-thing@latest prettier
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
This command will add the prettier configuration to your project.
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|