Giter VIP home page Giter VIP logo

vtarchive-s3's Introduction

NextJS Template

This is a simple template that I'll use to generate new NextJS project easily without needing to copy paste stuff from other projects of mine.

Using:

  • ๐ŸŽจ Tailwind CSS + PostCSS with some plugin
  • ๐Ÿ’ช Strong typing support with TypeScript
  • ๐Ÿ’ป Linting support with ESLint + Prettier for making the code much more beautiful
  • ๐Ÿš€ Fast compilation with ESBuild

The template is setup so you can just start working without needing to worry much about your setup.

PostCSS are configured:
Default NextJS config with:

  • CSS Nesting support
  • CSS import support
  • CSS minifier with cssnano

Tailwind are configured:

  • JIT mode
  • Purging on componenets, lib, and pages
  • Using class for dark mode (meaning changing the html class)
  • Using a True Gray version for Gray color
  • No extra plugins setup, you do it yourself.

NextJS and Babel are configured:

  • Using babel-plugin-typescript-to-proptypes plugin to automatically convert Interface to PropTypes
  • Using 'esbuild-loader` to make build faster (also replaced Terser with esbuild-loader).
  • Webpack 5

This project is bootstrapped with yarn, but you can use other package manager. The reason why I use yarn is because vercel deployment support.

Starting

  1. Use this template when creating new repository
  2. Clone it
  3. Run yarn install to install everything
  4. Start coding!

License

This template is licensed with MIT License, you can change it to whatever you want.

vtarchive-s3's People

Contributors

dependabot[bot] avatar noaione avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tigefa4u

vtarchive-s3's Issues

[Bug] Toggling view doesn't work properly.

Toggling view for some reason doesn't work, the localStorage got changed but the view isn't.
Might be because there's 2 event handler for localStorage, idk.

I'll try to fix it.

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.