Skip to content

Deploying to netlify #20

Closed Answered by giampieropace
giampieropace asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out. I'll write here how I solved in case someone else will need it.

  1. Add static as a dev dependency in package.json:
"devDependencies": {
        "@tailwindcss/typography": "^0.5.10",
        "@devdojo/static": "^1.0.26"
    },
  1. Add a build script in your package.json
"scripts": {
        "build": "npx @devdojo/static build"
    }
  1. Setup netlify builds:

Build command: npm run build
Publish directory: _site

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giampieropace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant