Skip to content

Commit

Permalink
Merge pull request #10 from floroz/feat/ssg-site
Browse files Browse the repository at this point in the history
feat: deploy website as a statically generated website
  • Loading branch information
floroz authored Nov 17, 2024
2 parents 5cb0831 + 1a924cc commit deabeee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 9 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[build]
publish = "dist"
command = "npm run build"
command = "npm run generate"

[build.environment]
NODE_VERSION = "20.11.1"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
3 changes: 1 addition & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import siteMetadata from "./config/site-metadata";
export default defineNuxtConfig({
// removed @nuxt/image-edge until this is fixed https://github.com/nuxt/image/issues/689
modules: ["nuxt-icon", "nuxt-svgo"],

ssr: true,
css: ["~/assets/css/fonts.css", "~/assets/css/main.css"],

postcss: {
plugins: {
tailwindcss: {},
Expand Down

0 comments on commit deabeee

Please sign in to comment.