diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 45d5f00..0000000 --- a/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -dist -node_modules -*.json -*.md -.github diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 9e17846..0000000 --- a/.eslintrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "root": true, - "extends": ["@nuxt/eslint-config"] -} diff --git a/CHANGELOG.md b/CHANGELOG.md index c9e0c34..a6a95b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,143 @@ # Changelog +## v1.4.6 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.5...v1.4.6) + +### 🩹 Fixes + +- 声明 antdv 的路径 ([5c643db](https://github.com/vueComponent/ant-design-vue-nuxt/commit/5c643db)) + +### ❤️ Contributors + +- Xuanhen2013 <1072671832@qq.com> + +## v1.4.5 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.4...v1.4.5) + +### 🩹 Fixes + +- 修复本地开发将所有组件拆包方式加载 ([66b2d7a](https://github.com/vueComponent/ant-design-vue-nuxt/commit/66b2d7a)) + +### 🏡 Chore + +- Change ts version ([1ffc2b7](https://github.com/vueComponent/ant-design-vue-nuxt/commit/1ffc2b7)) + +### ❤️ Contributors + +- Xuanhen2013 <1072671832@qq.com> +- Aibayanyu20 + +## v1.4.4 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.3...v1.4.4) + +### 🏡 Chore + +- Test info ([88a850d](https://github.com/vueComponent/ant-design-vue-nuxt/commit/88a850d)) + +### ❤️ Contributors + +- Aibayanyu20 + +## v1.4.3 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.2...v1.4.3) + +### 🩹 Fixes + +- Dayjs resolver ([9e1895d](https://github.com/vueComponent/ant-design-vue-nuxt/commit/9e1895d)) +- Fix typo ([3b5ede9](https://github.com/vueComponent/ant-design-vue-nuxt/commit/3b5ede9)) + +### 🏡 Chore + +- Update dependencies ([e48f0ca](https://github.com/vueComponent/ant-design-vue-nuxt/commit/e48f0ca)) +- Update deps ([5112cee](https://github.com/vueComponent/ant-design-vue-nuxt/commit/5112cee)) + +### ❤️ Contributors + +- Aibayanyu20 +- Svifty7 + +## v1.4.2 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.1...v1.4.2) + +### 🩹 Fixes + +- Fix dayjs esm package ([da879fc](https://github.com/vueComponent/ant-design-vue-nuxt/commit/da879fc)) + +### 📖 Documentation + +- Use new `nuxi module add` command in installation ([1f7b6eb](https://github.com/vueComponent/ant-design-vue-nuxt/commit/1f7b6eb)) + +### 🏡 Chore + +- Remove duplicates ([9d21695](https://github.com/vueComponent/ant-design-vue-nuxt/commit/9d21695)) +- Another duplicate ([13f8746](https://github.com/vueComponent/ant-design-vue-nuxt/commit/13f8746)) +- Change version ([23376ed](https://github.com/vueComponent/ant-design-vue-nuxt/commit/23376ed)) + +### ❤️ Contributors + +- Aibayanyu20 +- Daniel Roe ([@danielroe](http://github.com/danielroe)) + +## v1.4.0 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.1.2...v1.4.0) + +### 🚀 Enhancements + +- Add flex component ([da86291](https://github.com/vueComponent/ant-design-vue-nuxt/commit/da86291)) +- Add extractStyle ([7439e98](https://github.com/vueComponent/ant-design-vue-nuxt/commit/7439e98)) + +### 🩹 Fixes + +- Fix typo ([aebf62e](https://github.com/vueComponent/ant-design-vue-nuxt/commit/aebf62e)) + +### 🏡 Chore + +- **release:** V1.2.0 ([30d89ec](https://github.com/vueComponent/ant-design-vue-nuxt/commit/30d89ec)) +- Test bundler module resolution ([bc5c5cf](https://github.com/vueComponent/ant-design-vue-nuxt/commit/bc5c5cf)) +- **release:** V1.3.0 ([314ef40](https://github.com/vueComponent/ant-design-vue-nuxt/commit/314ef40)) + +### 🤖 CI + +- Eslint format ([7c43723](https://github.com/vueComponent/ant-design-vue-nuxt/commit/7c43723)) + +### ❤️ Contributors + +- Aibayanyu20 +- Markthree ([@markthree](http://github.com/markthree)) +- Daniel Roe + +## v1.3.0 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.1.2...v1.3.0) + +### 🚀 Enhancements + +- Add flex component ([da86291](https://github.com/vueComponent/ant-design-vue-nuxt/commit/da86291)) + +### 🩹 Fixes + +- Fix typo ([aebf62e](https://github.com/vueComponent/ant-design-vue-nuxt/commit/aebf62e)) + +### 🏡 Chore + +- **release:** V1.2.0 ([30d89ec](https://github.com/vueComponent/ant-design-vue-nuxt/commit/30d89ec)) +- Test bundler module resolution ([bc5c5cf](https://github.com/vueComponent/ant-design-vue-nuxt/commit/bc5c5cf)) + +### 🤖 CI + +- Eslint format ([7c43723](https://github.com/vueComponent/ant-design-vue-nuxt/commit/7c43723)) + +### ❤️ Contributors + +- Aibayanyu20 +- Daniel Roe + ## v1.2.0 [compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.1.2...v1.2.0) diff --git a/README.md b/README.md index 6a37e88..648549d 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,7 @@ Find and replace all on all files (CMD+SHIFT+F): 1. Add `@ant-design-vue/nuxt` dependency to your project ```bash -# Using pnpm -pnpm add -D @ant-design-vue/nuxt - -# Using yarn -yarn add --dev @ant-design-vue/nuxt - -# Using npm -npm install --save-dev @ant-design-vue/nuxt +npx nuxi@latest module add ant-design-vue ``` 2. Add `@ant-design-vue/nuxt` to the `modules` section of `nuxt.config.ts` @@ -99,7 +92,7 @@ If you wish to add automatically import content from Ant Design Vue, you can add If there are components that are not imported automatically from @ant-design/icons-vue, you need to add the component name here. -### extractStyle +### extractStyle (1.4.1) * Type: `boolean` diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..0d30653 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,5 @@ +import { createConfigForNuxt } from '@nuxt/eslint-config/flat'; + +export default createConfigForNuxt(undefined, { + ignores: ['dist', 'node_modules', '**/*.json', '**/*.md', '.github'], +}); diff --git a/package.json b/package.json index 5f46a39..239f2bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ant-design-vue/nuxt", - "version": "1.2.0", + "version": "1.4.6", "description": "ant-design-vue-nuxt module", "repository": "vueComponent/ant-design-vue-nuxt", "license": "MIT", @@ -34,22 +34,22 @@ }, "dependencies": { "@ant-design/icons-vue": "^7.0.1", - "@nuxt/kit": "^3.8.1" + "@nuxt/kit": "^3.13.2" }, "peerDependencies": { "ant-design-vue": ">=4" }, "devDependencies": { - "@nuxt/eslint-config": "^0.1.1", - "@nuxt/module-builder": "^0.4.0", - "@nuxt/schema": "^3.8.1", - "@nuxt/test-utils": "^3.8.1", - "@types/node": "^18.18.9", - "changelogen": "^0.5.5", - "eslint": "^8.53.0", - "nuxt": "^3.8.1", - "vitest": "^0.31.4", - "ant-design-vue": "^4.0.8", - "typescript": "5.1.6" + "@nuxt/eslint-config": "^0.5.7", + "@nuxt/module-builder": "^0.8.4", + "@nuxt/schema": "^3.13.2", + "@nuxt/test-utils": "^3.14.2", + "@types/node": "^18.19.53", + "ant-design-vue": "^4.2.5", + "changelogen": "^0.5.7", + "eslint": "^9.11.1", + "nuxt": "^3.13.2", + "typescript": "~5.5.4", + "vitest": "^2.1.1" } } diff --git a/playground/app.vue b/playground/app.vue index 4cf6286..9698cba 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -2,6 +2,11 @@
+ + + + +
@@ -27,7 +32,7 @@ type="primary" @click="handleMessage('success')" > - message success + message success message info @@ -83,10 +88,10 @@