Skip to content

Commit

Permalink
test: remove imports to subfolder for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Aug 13, 2024
1 parent 5eda477 commit c9dba48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<!-- Include the script that builds the page and powers Static CMS -->
<script src="https://unpkg.com/@staticcms/app@^4.0.0/dist/static-cms-app.js"></script>
<script type="module">
import { PeoplePreview } from "./previews/PeoplePreview.js"
import { NewsPreview } from "./previews/NewsPreview.js"
// import { PeoplePreview } from "./previews/PeoplePreview.js"
// import { NewsPreview } from "./previews/NewsPreview.js"

window.CMS.init()
window.CMS.registerPreviewStyle("../src/styles/global.css")

window.CMS.registerPreviewTemplate("people", PeoplePreview)
window.CMS.registerPreviewTemplate("news", NewsPreview)
// window.CMS.registerPreviewTemplate("people", PeoplePreview)
// window.CMS.registerPreviewTemplate("news", NewsPreview)

</script>
</body>
Expand Down

0 comments on commit c9dba48

Please sign in to comment.