Skip to content

Commit

Permalink
Merge pull request #8 from weicheng2138/develop
Browse files Browse the repository at this point in the history
version upgrade for nuxt3-rc8
  • Loading branch information
weicheng2138 authored Aug 23, 2022
2 parents a4e0b6f + 103a85f commit 6634836
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 175 deletions.
2 changes: 1 addition & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && git cz --hook || true
exec < /dev/tty && node_modules/.bin/cz --hook || true
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,7 @@ yarn add -D pinia @pinia/nuxt

```ts
export default defineNuxtConfig({
buildModules: [
// https://composition-api.nuxtjs.org/getting-started/setup#quick-start
'@pinia/nuxt',
],
modules: ['@pinia/nuxt'],
})
```

Expand Down Expand Up @@ -203,7 +200,7 @@ yarn add -D @vueuse/nuxt

```ts
export default defineNuxtConfig({
buildModules: ['@vueuse/nuxt'],
modules: ['@vueuse/nuxt', '@pinia/nuxt'],
vueuse: {
ssrHandlers: true,
},
Expand Down
6 changes: 2 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
app: {
head: {
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/public/favicon.ico' },
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
},
},
typescript: {
strict: true,
},
buildModules: ['@pinia/nuxt', '@vueuse/nuxt'],
modules: ['@vueuse/nuxt', '@pinia/nuxt'],
vueuse: {
ssrHandlers: true,
},
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"devDependencies": {
"@nuxt/test-utils": "^3.0.0-rc.3",
"@nuxtjs/eslint-config-typescript": "^9.0.0",
"@pinia/nuxt": "^0.1.8",
"@vueuse/nuxt": "^8.3.1",
"@pinia/nuxt": "^0.4.1",
"@vueuse/nuxt": "^9.1.0",
"axios": "^0.27.2",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.14.0",
Expand All @@ -33,15 +33,15 @@
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"lint-staged": "^12.4.1",
"msw": "^0.39.2",
"nuxt": "3.0.0-rc.1",
"pinia": "^2.0.13",
"msw": "^0.45.0",
"nuxt": "3.0.0-rc.8",
"pinia": "^2.0.20",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.1.10",
"tailwindcss": "^3.0.24",
"testcafe": "^1.18.6",
"prettier-plugin-tailwindcss": "^0.1.13",
"tailwindcss": "^3.1.8",
"testcafe": "^1.20.1",
"typescript": "^4.6.4",
"vitest": "^0.12.4"
"vitest": "^0.22.1"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit 6634836

Please sign in to comment.