Skip to content

Commit 4274388

Browse files
committed
feat: supports public/ dir and test Nuxt image
1 parent 6902738 commit 4274388

11 files changed

Lines changed: 423 additions & 75 deletions

File tree

playground/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { dirname, join } from 'path'
44
const currentDir = dirname(fileURLToPath(import.meta.url))
55

66
export default defineNuxtConfig({
7-
modules: ['@nuxt/icon'],
7+
modules: ['@nuxt/icon', '@nuxt/image'],
88
css: [
99
join(currentDir, './app/assets/css/main.css')
1010
],

playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"dependencies": {
1111
"@nuxt/icon": "2.2.1",
12+
"@nuxt/image": "^2.0.0",
1213
"nuxt": "^4.4.2"
1314
}
1415
}

0 commit comments

Comments
 (0)