Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Gulp 4 templates use EJS (Embedded JavaScript templating)

License

NotificationsYou must be signed in to change notification settings

alaunal/gulp-starterkit-ejs

Repository files navigation

GULP BOILERPLATE EJS is a tool that we designed to make it easier for developers (especially Front-end Developers) to create and create user interfaces as outlined in the visual web form of the design that has been determined.Docs Pages

Features

ThisWEB TEMPLATES provides a simple way of setting up a modern web development environment. Here is a list of the current features:

  • Webpack-stream runwebpack as a stream to conveniently integrate with gulp.
  • GULP 4 Automate and enhance your workflow.
  • EJS A rich and powerful templating language for JavaScript.
  • ES2015 Babel transpiler that allows you writing JS Code in ES2015/ES6 style.
  • Sass: CSS pre-processor withgulp-autoprefixer.
  • Browsersync with Live reload.
  • Minifies andoptimize your javascript.

Requirements

This should be installed on your computer in order to get up and running:

  • Node.js Required node version is >=10.0
  • npm Version6.0.*

If you've previously installed gulp globally, runnpm rm --global gulp before following these instructions.

Usage

As a prerequisite it's assumed you havenpm oryarn installed.

  1. Clone RepoMake sure you have aGULP STARTER-KIT clone repository.

    https://github.com/alaunal/gulp-starterkit-ejs.git
  2. Gulp Setupyou just execute this scriptnpm install --global gulp-cli, and make sure your Gulp CLI is currently in the version2.0.*

  3. Install dependencies

    npm install

    if you have done the syntax above before, there is no need to do a step 3 process. but if you are not sure then just do it for check updated.

  4. Serve or deployWhen we start theserve process, the task runner below hasenvdevelopment and automaticallywatch the changes you make to the code.

    $ yarn serve

    or

    $ npm run serve

We have two environment build tasks in the development process or for deployment production.

Development Build

  • development watch -->yarn watch ornpm run watch
  • development compile -->yarn dev ornpm run dev

Production Build

  • Production compile -->yarn build ornpm run build

[8]ページ先頭

©2009-2025 Movatter.jp