Yaavi 1 year ago
parent
commit
505ec7c328
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/public/demo-es.html

+ 1 - 1
index.html → docs/public/demo-es.html

@@ -7,7 +7,7 @@
   </head>
   <body>
     <script type="module">
-      import { isWorkday, isHoliday, isInLieu, getDayDetail, getHolidaysInRange, getWorkdaysInRange, findWorkday, getSolarTerms, getLunarDate } from './dist/index.es.js'
+      import { isWorkday, isHoliday, isInLieu, getDayDetail, getHolidaysInRange, getWorkdaysInRange, findWorkday, getSolarTerms, getLunarDate } from 'https://cdn.jsdelivr.net/npm/chinese-days/dist/index.es.js'
 
       console.log(isWorkday('2020-01-01'));
       console.log(isHoliday('2020-01-01'));