diff options
| author | polo <ordipolo@gmx.fr> | 2025-12-23 21:34:47 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-12-23 21:34:47 +0100 |
| commit | 4f734e0f374428be6424faee0a56458d4fa80396 (patch) | |
| tree | a6fbc52f230a0f048be4ab2db8ac47cfa974f993 /public/js/fullcalendar/README.md | |
| parent | 833edf6f21aab07dcd0a8d0de9e002c483deed0e (diff) | |
| download | cms-4f734e0f374428be6424faee0a56458d4fa80396.tar.gz cms-4f734e0f374428be6424faee0a56458d4fa80396.tar.bz2 cms-4f734e0f374428be6424faee0a56458d4fa80396.zip | |
installation de fullcalendar avec composer et CDN au lieu de GIT
Diffstat (limited to 'public/js/fullcalendar/README.md')
| -rw-r--r-- | public/js/fullcalendar/README.md | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/public/js/fullcalendar/README.md b/public/js/fullcalendar/README.md deleted file mode 100644 index 379e2c3..0000000 --- a/public/js/fullcalendar/README.md +++ /dev/null | |||
| @@ -1,73 +0,0 @@ | |||
| 1 | # FullCalendar | ||
| 2 | |||
| 3 | Full-sized drag & drop calendar in JavaScript | ||
| 4 | |||
| 5 | - [Project Website](https://fullcalendar.io/) | ||
| 6 | - [Documentation](https://fullcalendar.io/docs) | ||
| 7 | - [Changelog](CHANGELOG.md) | ||
| 8 | - [Support](https://fullcalendar.io/support) | ||
| 9 | - [License](LICENSE.md) | ||
| 10 | - [Roadmap](https://fullcalendar.io/roadmap) | ||
| 11 | |||
| 12 | Connectors: | ||
| 13 | |||
| 14 | - [React](https://github.com/fullcalendar/fullcalendar-react) | ||
| 15 | - [Angular](https://github.com/fullcalendar/fullcalendar-angular) | ||
| 16 | - [Vue 3](https://github.com/fullcalendar/fullcalendar-vue) | | ||
| 17 | [2](https://github.com/fullcalendar/fullcalendar-vue2) | ||
| 18 | |||
| 19 | ## Bundle | ||
| 20 | |||
| 21 | The [FullCalendar Standard Bundle](bundle) is easier to install than individual plugins, though filesize will be larger. It works well with a CDN. | ||
| 22 | |||
| 23 | ## Installation | ||
| 24 | |||
| 25 | Install the FullCalendar core package and any plugins you plan to use: | ||
| 26 | |||
| 27 | ```sh | ||
| 28 | npm install @fullcalendar/core @fullcalendar/interaction @fullcalendar/daygrid | ||
| 29 | ``` | ||
| 30 | |||
| 31 | ## Usage | ||
| 32 | |||
| 33 | Instantiate a Calendar with plugins and options: | ||
| 34 | |||
| 35 | ```js | ||
| 36 | import { Calendar } from '@fullcalendar/core' | ||
| 37 | import interactionPlugin from '@fullcalendar/interaction' | ||
| 38 | import dayGridPlugin from '@fullcalendar/daygrid' | ||
| 39 | |||
| 40 | const calendarEl = document.getElementById('calendar') | ||
| 41 | const calendar = new Calendar(calendarEl, { | ||
| 42 | plugins: [ | ||
| 43 | interactionPlugin, | ||
| 44 | dayGridPlugin | ||
| 45 | ], | ||
| 46 | initialView: 'timeGridWeek', | ||
| 47 | editable: true, | ||
| 48 | events: [ | ||
| 49 | { title: 'Meeting', start: new Date() } | ||
| 50 | ] | ||
| 51 | }) | ||
| 52 | |||
| 53 | calendar.render() | ||
| 54 | ``` | ||
| 55 | |||
| 56 | ## Development | ||
| 57 | |||
| 58 | You must install this repo with [PNPM](https://pnpm.io/): | ||
| 59 | |||
| 60 | ``` | ||
| 61 | pnpm install | ||
| 62 | ``` | ||
| 63 | |||
| 64 | Available scripts (via `pnpm run <script>`): | ||
| 65 | |||
| 66 | - `build` - build production-ready dist files | ||
| 67 | - `dev` - build & watch development dist files | ||
| 68 | - `test` - test headlessly | ||
| 69 | - `test:dev` - test interactively | ||
| 70 | - `lint` | ||
| 71 | - `clean` | ||
| 72 | |||
| 73 | [Info about contributing code »](CONTRIBUTING.md) | ||
