HTML Γ SCSS Γ TypeScript TemplateπΆ By gulp v4 οΌgulp v4 γ«γγ HTML Γ SCSS Γ TypeScript γγ³γγ¬γΌγοΌ
- SCSS to CSS converter
- TypeScript to JavaScript converter
- Autoprefixer CSS
- HTML Formatter
- Normalize.css
...
ββ gulpfile.ts
ββ index.html
ββ src/
β ββ scss/
β β ββ style.scss
β ββ typescript/
β β ββ main.ts
β ββ image/
β
ββ dist/ // What is automatically converted is stored hereπ¦.
ββ css/
β ββ style.css
ββ js/
β ββ main.js
ββ image/
If you've previously installed gulp globally, run npm rm --global gulp
before following these instructions.
For more information, read this Sip.
- Check for
node
,npm
, andnpx
. If they are not installed, follow the instructions here.
# Check for node
$ node -v
v12.14.0
# Check for npm
$ npm -v
6.13.4
# Check for npx
$ npx -v
6.13.4
- Install the gulp command line utility
$ npm install --global gulp-cli
$ git clone git@github.com:deren2525/gulp4-html-scss-ts-template.git
$ cd gulp4-html-scss-ts-template
$ npm install
Verify your gulp versions
# Check for gulp
$ gulp -v
CLI version: 2.2.0
Local version: 4.0.2
# start
$ gulp
Go to http://localhost:3000 !