Skip to content

Commit

Permalink
Update Nuxt dev/build outputs in .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyzen committed Apr 19, 2024
1 parent c9bd1e5 commit 6331728
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 81 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ logs
.env
.env.*
!.env.example

# Local Netlify folder
.netlify
5 changes: 4 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
NUXT_IMAGE_DOMAINS = "Comma separated list of domains. example.com,example2.com"

[build]
command = "nuxt generate"
command = "nuxt generate"

[images]
remote_images = ["https://secure.woonuxt.com/*"]
149 changes: 75 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions woonuxt_base/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ export default defineNuxtConfig({
pageTransition: { name: 'page', mode: 'out-in' },
},

experimental: {
sharedPrerenderData: true,
},

plugins: [resolve('./plugins/init.ts')],

components: [{ path: resolve('./components'), pathPrefix: false }],
Expand All @@ -32,8 +28,6 @@ export default defineNuxtConfig({

image: {
domains: process.env.NUXT_IMAGE_DOMAINS ? process.env.NUXT_IMAGE_DOMAINS.replace(/ /g, '').split(',') : [],
provider: process.env.IMAGE_PROVIDER || 'ipx',
screens: { sm: 640, md: 768, lg: 1024, xl: 1280 },
},

primevue: {
Expand Down

0 comments on commit 6331728

Please sign in to comment.