Skip to content

Commit

Permalink
upgrade to new cli for ssg
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Nov 1, 2024
1 parent a4f5eba commit a6a3e38
Show file tree
Hide file tree
Showing 8 changed files with 322 additions and 202 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install CLI
run: cargo install --force --git https://github.com/DioxusLabs/dioxus dioxus-cli
- name: Build
run: dx build --release
run: DIOXUS_LOG=dx=trace dx build --platform web --ssg --profile release-tiny
- name: Copy output
run: cp -r target/dx/dioxus_docs_site/release/web/public docs
- name: Add gh pages 404
Expand Down
8 changes: 4 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// so it doesn't break code blocks
"editor.formatOnSave": false
},
// "rust-analyzer.cargo.features": [
// "web",
// "doc_test"
// ]
"rust-analyzer.cargo.features": [
"web",
"server"
]
// "editor.formatOnSave": false
// "files.autoSaveDelay": 10
}
Loading

0 comments on commit a6a3e38

Please sign in to comment.