Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Deploy Demo

on:
workflow_dispatch:
push:
branches: [master]
paths:
- "demo/**"

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@elementmints/date - Demo</title>
<link rel="stylesheet" href="/dist/date.min.css">
<link rel="stylesheet" href="./dist/date.min.css">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

Expand Down Expand Up @@ -335,7 +335,7 @@ <h2>JavaScript API</h2>
</div>

<script type="module">
import { DatePicker, initAll, defineElement } from '/dist/esm/index.js';
import { DatePicker, initAll, defineElement } from './dist/esm/index.js';

defineElement();
initAll();
Expand Down
Loading