Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (22 loc) · 883 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 883 Bytes
<!--local script-->
<script src="http://localhost:5173/src/main.js"></script>

<!--github pages script-->
<script>
  if (typeof vite === "undefined") {
    // add css to head
    let link = document.createElement("link");
    link.rel = "stylesheet";
    link.href = "https://getonnet.github.io/ads-calculator-2024-custom-code/dist/assets/index.css";
    document.head.appendChild(link);

    // add JS code to end of body
    let script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "https://getonnet.github.io/ads-calculator-2024-custom-code/dist/assets/index.js";
    document.body.appendChild(script);
  }
</script>

git acp is a custom git alias for git add, git commit & git push. If you dont create a customa alias, that command wont work. In this case you can run pnpm build and then, push to github manually.