Skip to content

brindille/brindille

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

brindille

Javascript front-end project boilerplate.

It uses:

Install

Clone this repository and install the dependencies

git clone https://github.com/brindille/brindille.git ./my-project
cd my-project
rm -rf ./.git
npm install && composer install

File structure

Organise your files in a component structure: JavaScript, template and styles of a component should be in the same folder. (ex: /src/views/components/button-test.) Then, they will be build in the /public/build folder.

Images, fonts and other assets have to be in the /public/assets/{images,fonts} folders.

Templating

Templating uses twig engine. We added a useful brindillePage function you can use in your template to create a link for a given page.

Localization

Brindille is multilingual by default, you can set up languages in data/languages.yaml.

Ressources

Tasks

Dev

Builds CSS & JS files and watches for changes.

npm start

Production

Build the files and minify them.

npm run build

License

MIT

About

Javascript front-end project boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published