Skip to content

Commit

Permalink
Add critters
Browse files Browse the repository at this point in the history
Signed-off-by: C0D3 M4513R <[email protected]>
  • Loading branch information
C0D3-M4513R committed Aug 9, 2024
1 parent c824973 commit 4823d5a
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 1 deletion.
1 change: 1 addition & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"type": "module",
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
Expand Down
193 changes: 193 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"critters": "^0.0.24",
"vite": "^5.1.5",
"vite-plugin-pages": "^0.32.1",
"vite-ssg": "^0.23.8",
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { fas } from "@fortawesome/free-solid-svg-icons";
import { far } from "@fortawesome/free-regular-svg-icons";
import { fab } from "@fortawesome/free-brands-svg-icons";
library.add(fas, far, fab)
library.add(fas, far, fab);

export const createApp = ViteSSG(
// the root component
Expand Down
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default defineConfig({
}
},
ssgOptions: {
script: "async",
formatting: "minify",
dirStyle: "nested",
/*include the dynamic FAQ routes*/
includedRoutes(paths, routes) {
Expand Down

0 comments on commit 4823d5a

Please sign in to comment.