Commit Graph

30 Commits

Author SHA1 Message Date
zernonia
f8f3fc754f
feat: support tailwind prefix (#619)
* chore: enable tw prefix

* chore: enable tw  prefix during init

* fix: cater for cn function

* fix: prevent transforming importDeclaration

* chore: update registry to make sure tailwind prefix parse correctly

* chore: fix wrong import

* chore: checkpoint

* refactor: goodbye ts-morph

* chore: remove ts-morpg

* chore: update test

* chore: cleanup

* chore: fix test

* fix: move vue-metamorph to dep

* refactor: transform tw prefix by specific case

* fix: transform-sfc not parsing .ts file

* fix: prefix double quote

* chore: patch vue-eslint-parser

* refactor: transform to cater only for class in sfc

* refactor: replace detypes with @unovue/detypes

* chore: update test snapshot

* chore: update pnpm-lock, fix import

* chore: bump detypes version

* chore: update deps
2024-10-14 19:39:58 +08:00
Roga
1c7c60330a
docs: update nuxt.md (#804)
Expanded on the TailwindCSS installation instructions.
The added information is important because from time to time the Nuxt module installation throws the following error:
```bash
$ npx nuxi@latest module add tailwindcss

 ERROR  [GET] "https://npm.fontawesome.com/@nuxtjs/tailwindcss/latest": 401 Unauthorized                                              8:39:48 a.m.

  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async $fetch2 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.b88e7b0f.mjs:340:15)
  at async resolveModule (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/add2.mjs:262:15)
  at async Object.setup (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/add2.mjs:136:15)
  at async runCommand$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1620:5)
  at async runCommand$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1639:11)
  at async runCommand$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1639:11)
  at async runMain$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1777:7) 
```
Manually installing the package and then adding to the config fixes this issue.
2024-10-11 13:05:31 +08:00
Krishna Bhandari
ccbdc2f90f
docs: update laravel.md creating project command (#752) 2024-09-09 14:04:10 +03:30
jtidwe11
12657dab5c
docs: update vite instructions (#713)
If compiler options are only added to just tsconfig.json, module resolution fails for `@/lib/utils` during build.
2024-08-16 12:14:08 +03:30
Alan Kersaudy
5708af535a
docs: fix astro.md globals.css import path 2024-07-29 08:19:31 +03:30
Sadegh Barati
0ee23fb53d
docs: add dialog with form example (#682) 2024-07-26 00:56:56 +03:30
Miguel
f597d258b0
feat(separator): add label props on separator component (#626) 2024-06-23 22:53:34 +03:30
Jie
6aebbc1a90
docs: fix modify the style generation location (#625) 2024-06-21 12:35:59 +03:30
Daniel Roe
88a93ce22e
chore: indicate compatibility with new v4 major (#610) 2024-06-14 17:43:04 +03:30
tangyongjie
61dcd63ef2
docs: fix installation configure components.json (#556) 2024-05-16 18:38:13 +03:30
Sam K
10319df960
fix(cli): add an option to component.json to resolve nuxt buildDir (#447)
* fix(cli): add an option to `component.json` to resolve nuxt buildDir dynamically

* feat: add `tsConfigPath` option

* docs: updated installation docs to reflect the new option `tsConfigPath`

* feat: include option in init

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
Co-authored-by: zernonia <zernonia@gmail.com>
2024-05-06 16:13:46 +08:00
chachew
8e132b1987
docs: fix typo in vite.md (#510) 2024-04-22 19:02:24 +03:30
chachew
95f4e6b56d
docs: update vite.md (#505) 2024-04-20 11:35:55 +03:30
Selemondev
f7e475f16a
docs: use nuxi command for modules installation (#493) 2024-04-14 22:54:10 +03:30
Sadegh Barati
d34c620055
chore: lint and enable Volar hybrid mode (#419)
* chore: update deps

* feat: enable Volar hybrid mode

* chore: lint

* chore: build registry
2024-03-20 22:29:42 +03:30
Saeid Zareie
e817da4b8b
docs: adding dark-mode setup page (#384) 2024-03-07 16:33:49 +03:30
Jared Jolton
41660d36cd
docs: add line highlighting for resolve paths instructions (#331) 2024-02-11 23:04:37 +03:30
Sadegh Barati
f9ab01e11b
docs: fix new line-number, fix highlight color on txt md block in shikiji (#299)
* docs: tweaks container size and shiki styles
2024-01-22 01:16:48 +03:30
Sadegh Barati
50586487d5
docs: update vite installation (#250) 2024-01-18 16:45:38 +03:30
Rukshan Ranatunge
5336fce443
docs: add @types/node section in Vite installation(#289)
Add install @types/node to follow the documentation in shadcn-ui. And import path without an error
2024-01-18 16:08:39 +03:30
zernonia
1d2cce5a40 docs: update nuxt to allow manual module 2024-01-02 18:12:22 +08:00
Sasa Markovic
24027aa1a1 docs: fix create project command typo (#208)
`create-next-app` -> `create-nuxt-app`
2023-12-12 09:49:39 +03:30
zernonia
7586b5e15c
feat: Nuxt module (#197)
* feat: add nuxt module

* chore: bundle module

* chore: update package, readme

* docs: update nuxt installation with new module

* docs: remove Ui prefix to prevent confusion

* chore: cleanup
2023-12-01 11:31:27 +08:00
Sadegh Barati
a2c5834255
docs: fix nuxt.config.ts configuration for auto-import components directories (#154)
* docs: fix `nuxt.config.ts` components installiation step

* docs: add `pathPrefix`: false
2023-11-09 18:12:22 +08:00
Selemondev
537416f88f
docs: add Astro guide (#118)
* docs(app): add astro guide

* docs: update Astro guide
2023-10-22 16:11:01 +08:00
Greg Sanderson
2f9845efcd
chore: update vite.md (#111)
The guide assumes TypeScript (for example mentioning tsconfig.json just below) however the suggested Vite template uses JavaScript. Perhaps suggest using the TypeScript template instead as then everything else works.
2023-10-11 10:22:53 +08:00
Selemondev
3e9d8063cc
docs: update Nuxt 3 installation guide for Typescript issue fix (#71)
* docs: update Nuxt 3 installation guide

* docs: update Nuxt 3 installation guide
2023-09-22 15:11:52 +08:00
zernonia
97e9b57eb0 docs: fix className reference 2023-09-22 09:48:30 +08:00
zernonia
9b2447b249
fix: update extension for tailwindconfig (#68) 2023-09-21 08:11:25 +08:00
zernonia
6e0cfe1ade
feat: improve installation section to accommodate other frameworks (#63)
* feat: installation section by framwork

* chore: update installations

* refactor: use lodash templates

* fix: frozen pnpm-lock

* fix: capitalize
2023-09-19 13:08:40 +08:00