mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore: prefer nuxt over nuxi
This commit is contained in:
2
.github/ISSUE_TEMPLATE/bug-report-v3.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report-v3.yml
vendored
@@ -10,7 +10,7 @@ body:
|
|||||||
id: env
|
id: env
|
||||||
attributes:
|
attributes:
|
||||||
label: Environment
|
label: Environment
|
||||||
description: You can use `npx nuxi info` to fill this section
|
description: You can use `npx nuxt info` to fill this section
|
||||||
placeholder: |
|
placeholder: |
|
||||||
- Operating System: `Darwin`
|
- Operating System: `Darwin`
|
||||||
- Node Version: `v18.16.0`
|
- Node Version: `v18.16.0`
|
||||||
|
|||||||
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -10,7 +10,7 @@ body:
|
|||||||
id: env
|
id: env
|
||||||
attributes:
|
attributes:
|
||||||
label: Environment
|
label: Environment
|
||||||
description: You can use `npx nuxi info` to fill this section
|
description: You can use `npx nuxt info` to fill this section
|
||||||
placeholder: |
|
placeholder: |
|
||||||
- Operating System: `Darwin`
|
- Operating System: `Darwin`
|
||||||
- Node Version: `v18.16.0`
|
- Node Version: `v18.16.0`
|
||||||
|
|||||||
2
.github/workflows/module.yml
vendored
2
.github/workflows/module.yml
vendored
@@ -111,7 +111,7 @@ jobs:
|
|||||||
run: pnpm install --ignore-workspace
|
run: pnpm install --ignore-workspace
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: pnpm nuxi prepare
|
run: pnpm nuxt prepare
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: pnpm run typecheck
|
run: pnpm run typecheck
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const value = ref('npx nuxi module add ui')
|
const value = ref('npx nuxt module add ui')
|
||||||
const copied = ref(false)
|
const copied = ref(false)
|
||||||
|
|
||||||
function copy() {
|
function copy() {
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ You can play with Nuxt UI components as well as your app components directly fro
|
|||||||
Install the module to your Nuxt application with one command:
|
Install the module to your Nuxt application with one command:
|
||||||
|
|
||||||
```bash [Terminal]
|
```bash [Terminal]
|
||||||
npx nuxi module add compodium
|
npx nuxt module add compodium
|
||||||
```
|
```
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ Start your project using the [nuxt/starter#ui](https://github.com/nuxt/starter/t
|
|||||||
Create a new project locally by running the following command:
|
Create a new project locally by running the following command:
|
||||||
|
|
||||||
```bash [Terminal]
|
```bash [Terminal]
|
||||||
npx nuxi init -t ui <my-app>
|
npm create nuxt@latest -- -t ui
|
||||||
```
|
```
|
||||||
|
|
||||||
::note
|
::note
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ Start your project using the [nuxtlabs/nuxt-ui-vue-starter](https://github.com/n
|
|||||||
Create a new project locally by running the following command:
|
Create a new project locally by running the following command:
|
||||||
|
|
||||||
```bash [Terminal]
|
```bash [Terminal]
|
||||||
npx nuxi init -t github:nuxtlabs/nuxt-ui-vue-starter <my-app>
|
npm create nuxt@latest -- -t github:nuxtlabs/nuxt-ui-vue-starter
|
||||||
```
|
```
|
||||||
|
|
||||||
::note
|
::note
|
||||||
|
|||||||
12
package.json
12
package.json
@@ -96,17 +96,17 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nuxt-module-build build",
|
"build": "nuxt-module-build build",
|
||||||
"prepack": "pnpm build",
|
"prepack": "pnpm build",
|
||||||
"dev": "nuxi dev playground --uiDev",
|
"dev": "nuxt dev playground --uiDev",
|
||||||
"dev:build": "nuxi build playground",
|
"dev:build": "nuxt build playground",
|
||||||
"dev:vue": "vite playground-vue -- --uiDev",
|
"dev:vue": "vite playground-vue -- --uiDev",
|
||||||
"dev:vue:build": "vite build playground-vue",
|
"dev:vue:build": "vite build playground-vue",
|
||||||
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs && vite build playground-vue",
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && vite build playground-vue",
|
||||||
"docs": "nuxi dev docs --uiDev",
|
"docs": "nuxt dev docs --uiDev",
|
||||||
"docs:build": "nuxi build docs",
|
"docs:build": "nuxt build docs",
|
||||||
"docs:prepare": "nuxt-component-meta docs",
|
"docs:prepare": "nuxt-component-meta docs",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"typecheck": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
"typecheck": "vue-tsc --noEmit && nuxt typecheck playground && nuxt typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"test:vue": "vitest -c vitest.vue.config.ts",
|
"test:vue": "vitest -c vitest.vue.config.ts",
|
||||||
"release": "release-it"
|
"release": "release-it"
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
"name": "@nuxt/ui-playground",
|
"name": "@nuxt/ui-playground",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nuxi dev",
|
"dev": "nuxt dev",
|
||||||
"build": "nuxi build",
|
"build": "nuxt build",
|
||||||
"generate": "nuxi generate",
|
"generate": "nuxt generate",
|
||||||
"typecheck": "nuxt typecheck"
|
"typecheck": "nuxt typecheck"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user