component-named-slots

How to use composition with Lucky components!

โ˜˜๏ธ Lucky Jumpstart

This is a template project for web applications using Lucky.

Crystal CI

How to use it?

  • Click this link
  • Replace every instance of component_named_slots with your application name, for example:
    • mv src/component_named_slots.cr src/{your_app}.cr
    • rg component_named_slots -l | xargs sed -i '' 's/component_named_slots/{your_app}/g'
  • Run ./script/setup
  • Run docker-compose up
  • Run lucky dev

Why use a template?

There are quite a few things I find myself adding to every Lucky application out of the box, and this serves as a bit of a better starting point than the default generated application.

What's in the box?

Development

  • ๐Ÿณ ย  A DockerCompose file for running your application database

Dependencies

  • ๐Ÿ’Ž ย  Up-to-date Crystal dependencies
  • ๐Ÿงถ ย  Up-to-date Yarn dependencies

Tooling

  • ๐Ÿ˜ฝ ย  TailwindCSS for better styling
  • ๐Ÿ˜ป ย  TailwindUI for fancy components
  • ๐ŸŽ‰ ย  StimulusJS for JavaScript sprinkles
  • ๐Ÿš€ ย  TypeScript for keeping JavaScript cleaner

CI/CD

  • ๐Ÿณ ย  A Dockerfile that can run LuckyFlow specs

  • ๐Ÿค– ย  A handy dandy Dependabot configuration file

  • A working GitHub Actions workflow with:

Repository

component-named-slots

Owner
Statistic
  • 0
  • 0
  • 24
  • 0
  • 6
  • almost 2 years ago
  • August 16, 2020
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 14:44:15 GMT

Languages