Giter VIP home page Giter VIP logo

create-esp-app's Introduction

create-esp-app

This is an npm package that allows you to quickly create a opinionated Next.js applications. For more information on the opinions, see the example folder.

Usage

To create a new Next.js project with the pre-configured example folder, run the following command:

npx create-esp-app <project-name>

or

npx create-esp-app

Then it will create a new directory with that name and set up the opinionated Next.js project.

Note: if you don't specify a name, the command will prompt you to enter one.

Example Folder

The example folder contains a basic Next.js project structure with the following files and directories:

.
├── .eslintrc.json
├── .gitignore
├── README.md
├── next.config.mjs
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│   └── favicon.ico
├── src
│   ├── app
│   │   ├── favicon.ico
│   │   ├── globals.css
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   ├── providers.tsx
│   │   ├── robots.ts
│   │   └── sitemap.ts
│   ├── components
│   │   └── icons
│   │       ├── chevron-up.tsx
│   │       ├── gear.tsx
│   │       └── (...)
│   └── utils
│       └── cn.ts
├── tailwind.config.ts
└── tsconfig.json

The src/ directory contains the main application code:

  • app/: Contains the Next.js app files, including the layout, pages, providers, and configuration for robots and sitemap.
  • components/icons/: Contains reusable React icon components.
  • utils/: Contains utility functions or helpers.

You can modify or replace these files as needed to suit your project requirements.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

create-esp-app's People

Contributors

epoll31 avatar

Watchers

 avatar

create-esp-app's Issues

Fix: `package.json` name

Right now, the name field in the generated package.json is filled from /example.

This should be set to whatever the project name is inputed to npx create-next-app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.