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 !
