Development conventions
Preferred stack
NPM
overYARN
to manage node packages.Composer
is preferred for thePHP
dependency manager.SCSS
is preferred overLESS
Please discuss if you want to diverge from these standards
Wordpress
- Use Bedrock for any Wordpress installation.
- Install the ProDemos Base plugin.
- Never assign permission in the admin but set them explicitly in the code.
Node
- the Node version used is recorded in
package.json
(cf. https://stackoverflow.com/a/29349773/18890850)
Vue
Deployment
- github workflows
Use the following build commands
Browser support
The following browsers should be supported and should be tested against.
- Chrome
- Safari
- Edge
- Firefox
Browserlist
Use the following snippet in package.json to prefix/compile to support these browsers:
"browserslist": [
"last 2 versions"
]