Skip to content

iuxcode/gulp_smpl_layout_builder

Repository files navigation

gulp4-html-scss-ts-template

gulp-html-scss-typescript

HTML × SCSS × TypeScript Template🐶 By gulp v4 (gulp v4 による HTML × SCSS × TypeScript テンプレート)

📦 Features

  • SCSS to CSS converter
  • TypeScript to JavaScript converter
  • Autoprefixer CSS
  • HTML Formatter
  • Normalize.css

Directory structure

...
├─ 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/

Recommend VSCode Extensions

💬 Usage

0. How to set up gulp

If you've previously installed gulp globally, run npm rm --global gulp before following these instructions. For more information, read this Sip.

  1. Check for node, npm, and npx. 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
  1. Install the gulp command line utility
$ npm install --global gulp-cli

1. Install

$ 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

2. Start

# start
$ gulp

Go to http://localhost:3000 !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors