forked from aristath/customize-section-button
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
One thing that we should probably decide early on is what system to use for building compiling assets and so on. This project has minimal CSS and JS, so we could get by without anything. But, I'd rather have a consistent method of handling this in any project that includes CSS/JS that we do.
Personally, I'm a fan of Laravel Mix simply because it's super simple to configure: https://laravel-mix.com/ But, I'm open to anything else if someone with more JS and build experience is willing to tackle setting things up.
Goals
We have two goals:
- Provide raw files that theme authors can import into their own builds if they choose to do so.
- Provide compiled files that theme authors can simply enqueue.
File organization
Here's how I do things in my projects:
// Raw, uncompiled files:
- /resources
/js
/scss (or css)
// Compiled resources:
- /public
/js
/css
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested