Skip to content

Commit 69e702f

Browse files
committed
chore(deps): update and added nuxt devtools
1 parent 69f839e commit 69e702f

File tree

4 files changed

+1771
-201
lines changed

4 files changed

+1771
-201
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"prettier.enable": false,
33
"editor.formatOnSave": false,
44
"editor.codeActionsOnSave": {
5-
"source.fixAll.eslint": true,
6-
"source.organizeImports": false
5+
"source.fixAll.eslint": "explicit",
6+
"source.organizeImports": "never"
77
},
88

99
// The following is optional.

nuxt.config.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { presetUno, presetIcons, presetTypography, presetWebFonts } from 'unocss'
22
import svgLoader from 'vite-svg-loader'
33

4-
import glsl from 'vite-plugin-glsl'
5-
64
// https://nuxt.com/docs/api/configuration/nuxt-config
75
export default defineNuxtConfig({
86
app: {
@@ -23,10 +21,15 @@ export default defineNuxtConfig({
2321
'nuxt-svgo',
2422
'@nuxt/content',
2523
'@nuxt/image-edge',
26-
"@nuxt/image"
24+
'@nuxt/image',
25+
'@nuxt/devtools',
2726
],
2827
css: ['@unocss/reset/tailwind-compat.css', '@tresjs/leches/styles'],
2928
declare: ['*.glsl'],
29+
tres: {
30+
devtools: true,
31+
glsl: true,
32+
},
3033
unocss: {
3134
// presets
3235
theme: {
@@ -108,7 +111,7 @@ export default defineNuxtConfig({
108111
},
109112
},
110113
vite: {
111-
plugins: [glsl(), svgLoader()],
114+
plugins: [svgLoader()],
112115
},
113116
build: {
114117
transpile: ['fsevents', 'postprocessing'],

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,30 @@
1111
"dependencies": {
1212
"@tresjs/post-processing": "^0.7.0",
1313
"mdast-util-to-string": "^4.0.0",
14-
"three": "^0.158.0",
14+
"three": "^0.159.0",
1515
"three-custom-shader-material": "^5.4.0",
1616
"unist-util-stringify-position": "^4.0.0"
1717
},
1818
"devDependencies": {
19-
"@iconify-json/carbon": "^1.1.24",
20-
"@iconify-json/game-icons": "^1.1.6",
21-
"@iconify-json/ic": "^1.1.16",
22-
"@iconify-json/logos": "^1.1.40",
23-
"@nuxt/content": "^2.8.5",
19+
"@iconify-json/carbon": "^1.1.26",
20+
"@iconify-json/game-icons": "^1.1.7",
21+
"@iconify-json/ic": "^1.1.17",
22+
"@iconify-json/logos": "^1.1.41",
23+
"@nuxt/content": "^2.9.0",
2424
"@nuxt/image": "^1.1.0",
25-
"@nuxt/image-edge": "1.1.0-28355789.b3279fe",
25+
"@nuxt/image-edge": "1.1.0-28373407.4ef2978",
2626
"@tresjs/cientos": "3.6.0",
27-
"@tresjs/core": "^3.5.1",
27+
"@tresjs/core": "3.6.0",
2828
"@tresjs/eslint-config-vue": "^0.2.1",
2929
"@tresjs/leches": "0.15.0-next.1",
30-
"@tresjs/nuxt": "1.3.0",
30+
"@tresjs/nuxt": "2.0.1",
3131
"@tweakpane/plugin-essentials": "^0.2.0",
3232
"@types/three": "^0.159.0",
3333
"@unocss/nuxt": "^0.58.0",
3434
"gsap": "^3.12.3",
3535
"nuxt": "^3.8.2",
3636
"nuxt-svgo": "^3.7.0",
3737
"postprocessing": "^6.33.4",
38-
"vite-plugin-glsl": "^1.2.0",
3938
"vite-svg-loader": "^5.1.0"
4039
}
4140
}

0 commit comments

Comments
 (0)