A template for small websites.
How do I use Tsushima? First thing first, clone this repo:
git clone https://github.com/AlexzanDev/Tsushima
When you are in the root folder, open your favorite CLI program and run this command:
npm run install
What does this command do? It installs all the NodeJS dependencies needed for Tsushima to run and then runs Gulp.
To run Gulp after the setup, you have two options:
# Runs Gulp directly.
gulp
# Runs Gulp through NodeJS.
npm run dev
At the moment there are four Gulp tasks: scssTask
converts SCSS to CSS, browserSyncServe
and browserSyncReload
initialize Browser Sync and reload the browser on every file change respectively, and watchTask
manages the entire thing.
And that's it. For now.
Why does Tsushima exists? Check out my Twitter thread about it.