besteadfast / carbon Goto Github PK
View Code? Open in Web Editor NEWSteadfast's starter project - Craft CMS, Vite, and DDEV
Steadfast's starter project - Craft CMS, Vite, and DDEV
Currently we're using CJS (CommonJS) for our Tailwind config and carbon config file (currently named stallion.cjs
, #48). This is because Tailwind didn't support ESM previously. But in a newer version of Tailwind, ESM is now supported. So, let's upgrade Tailwind and then convert over to ESM.
Currently, if you use the Docker GUI to start/stop projects, they don't unmount correctly (or something) so if you restart your computer they all try to start and everything falls apart (dramatization, but yeah)
One thought on this: we probably need to have the icons volume be automatically re-indexed on deploy, so that new icons that are added via Git appear in the CP automatically without needing to re-index via Utilities
We currently use Redactor ๐คฎ for our Rich Text fields, and Vizy for complex text fields (that need non-text blocks). If we're going to leverage Vizy for most projects, I think it makes sense to build all of our Rich Text fields with it as well.
This will allow us to change this in the .env
file and avoid having to change it in multiple places.
Components in src/js/components should be auto-registered into Vue, so you don't have to manually import each component.
Button.vue
becomes <Button>
ComponentName.lazy.vue
This also will take care of #25.
Instead of registering them all into the full bundle
Rename anything named "stallion" to "carbon".
Example: /config/build/stallion.cjs
For dropdown menus, accordions, or anything else that opens another section in the DOM should have the aria-haspopup
and aria-expanded
attributes on them.
These attributes tell screen reader users that another section has opened when interacting with typical DOM nodes. The surgery center repos all have this in their main Nav elements that include a dropdown.
Currently the naming of the Docker volume "webpack" seems a bit odd because I'm usually using it for non-webpack tasks like adding dependencies or running our icon builds. I think "node" makes more sense because we're running node commands in that volume.
Maybe even bake in the steadfast avatar for the default user?
Need a better way for users to select SVG icons through Craft. Verbb has a plugin for this: https://plugins.craftcms.com/icon-picker?craft4
We could also look at a custom solution, but the plugin is probably the easiest route.
Found in project.yaml
file.
Maybe via https://traefik.me/ ?
const prod = {
server: {
// TODO: set server options
}
}
const staging = {
server: {
// TODO: set server options
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.