GitXplorerGitXplorer
t

micro-calendar

public
4 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
757da510716a0eb0e7a3b20227ec231ce60c0a40

bump to latest assetmapper, etc.

ttacman committed 10 months ago
Unverified
650bfa5f17952e0e31acd479a8d3a7cacf505950

add stimulus and twig component

ttacman committed a year ago
Unverified
bcbfe27d622c8c75040f32a3c361d16ac4b15342

add link to github pages

ttacman committed a year ago
Unverified
a34ac4b44771fd6d6501dc054e3fab8adb9f16e4

try with 6.4 dev branch

ttacman committed a year ago
Unverified
4291a6cbf709f7878a7fea833c02bbef4bc336bd

update README

ttacman committed a year ago
Unverified
d748e9ee65afc0dba29cf3a4395ae8ac14fdc5bd

cleanup README

ttacman committed a year ago

README

The README file for this repository.

MicroCalendar 🎶

Introduction 🖋

Honestly, this repo is mostly for me to play around with a working application that doesn't need yarn or npm to run.

It is based on MicroSymfony, a Symfony application skeleton.

Eventually I will port everything from https://github.com/tacman/calendar-bundle-demo, which DOES use webpack.

In the meantime, the only things this really does is show a problem using the awesome fullcalendar library as a module.

Installation

git clone https://github.com/tacman/micro-calendar && cd micro-calendar && composer install && symfony server:start -d 

Note the lack of yarn install && yarn dev!

GitHub Pages (Static)

I wanted to show the issue to the fullcalendar developers, but I didn't have an easy way to deploy a Symfony app.

So I created static pages using https://github.com/StenopePHP/Stenope and configured github pages to point to the /docs directory.
See it it on https://tacman.github.io/micro-calendar/

bin/console asset-map:compile
bin/console -e prod cache:clear
bin/console -e prod stenope:build ./docs --base-url /micro-calendar/
rm public/assets/ -rf 

You need the public/assets directory to get the right js files, but need to delete it before continuing to develop, otherwise you'll get the cached version of those files.

AssetMapper

The AssetMapper component is the key that allows this site to work with javascript libraries without a build step.
This repo is using the dev version of Symfony 6.4.