Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 542 Bytes

Installation.md

File metadata and controls

30 lines (22 loc) · 542 Bytes

Installation Guide

Day.js를 가져오는 방법은 여러가지가 있습니다:

  • NPM:
npm install dayjs --save
import dayjs from 'dayjs'
// Or CommonJS
// var dayjs = require('dayjs');
dayjs().format();
  • CDN:
<!-- Latest compiled and minified JavaScript -->
<script src="https://unpkg.com/dayjs"></script>
<script>
  dayjs().format();
</script>
  • 다운 받아 셀프 호스팅:

https://unpkg.com/dayjs/에서 Day.js 의 최신버전을 받을 수 있습니다.