4.0.1 • Published 4 years ago

tailor_next_generator v4.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Tailor Next.js application generator with Styled-components & i18n translation module & Typescript.

Logo

Introduction

tailor_next_generator is Tailor's NPM package that allows us to quickly create next.js projects with the basic configuration.

Installation

Install tailor_next_generator as a global NPM package, so you can run it from anywhere in your computer:

$ npm install -g tailor_next_generator

Or use npx:

$ npx tailor_next_generator new-project/

Quick Start

The quickest way to get started with next.js is to utilize the executable tailorgenerate(1) to generate an application as shown below:

Create the app:

$ tailorgenerate new-project/
$ cd new-project/

This will generate the following directory structure:

new-project/
├── .babelrc
├── next.config.js
├── package.json
├── content
├── components
│   └── Meta.js
├── static
│    ├── fonts
│    ├── svg
│    └── img
├── pages
│    ├── index.js
├── styles
│   ├── fontsStyles
│   ├── pagesStyles
├── .env
├── .gitignore

Install all dependencies described in package.json:

$ npm i

Start your next.js app:

$ npm run dev

Command Line Options

This generator can also be further configured with the following command line flags.

-h, --help           output usage information
    --git            initialise a Git project
    --i18n           i18n translation module configuration
    --type           typescript basic configuration 

License

MIT

4.0.1

4 years ago

4.0.0

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago