Coder Social home page Coder Social logo

doinel1a / vite-vanilla-js Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 4.0 1.04 MB

Start a Vanilla JS Web App, SPA, website or landing page using JavaScript, Tailwind CSS, ESLint, Husky, Vite and much more, in JUST 30 seconds, without the hassle of setting up your dev environment.

Home Page: https://vite-vanilla-js.d1a.app

License: MIT License

JavaScript 34.19% Shell 0.90% CSS 5.80% HTML 51.68% SCSS 7.43%
boilerplate boilerplate-front-end boilerplate-template javascript js sass scss starter tailwind tailwind-css

vite-vanilla-js's Introduction

Vite Vanilla JavaScript — Template

Are you looking for a way to supercharge your development experience and build stunning web applications with ease? You are in the right place! This development starter template is the ultimate solution to help you getting started on your project in no time, without the hassle of setting up and configuring your development environment from scratch each time you start working. This template is ideal for front-end developers who want to build modern, fast and reliable web applications with the latest cutting edge technologies such as JavaScript, TailwindCSS, ESLint, Prettier, Husky, Vite and much more!


Demo   |   Bug(label: bug)   |   Feature(label: enhancement)


🔖 Table of contents


💻 Getting started

Prerequisites:

  • JavaScript runtime node.js;
  • (OPTIONAL) Alternative package manager:
    • PNPM npm install --global pnpm
      or
    • Yarn npm install --global yarn

Start developing:

  • Get the repository:

    • click "Use this template"   or   "Fork" button
      alternately
    • clone the repository through your terminal:
      git clone https://github.com/doinel1a/vite-vanilla-js YOUR-PROJECT-NAME;
  • Open your terminal or code editor to the path your project is located, and run:

    NPM PNPM Yarn
    To install the dependencies npm install pnpm install yarn install
    To run the development server npm run dev pnpm dev yarn dev
    To build your app for production npm run build pnpm build yarn build
    To preview your production optimized app npm run preview pnpm preview yarn preview

Back to ⬆️


🔋 Features

This repository comes 🔋 packed with:

  • JavaScript;
  • TailwindCSS;
  • SASS & SCSS;
  • PostCSS;
  • Playwright;
  • Vite;

And with tools that enhance the development experience:

  • ESLint;
  • Prettier;
  • Husky;
  • Commitlint;

Back to:arrow_up:


🔃 Versions

This repository comes configured with 2 of the industry standards for development tools: Webpack and Vite.
Both tools support SWC (Speedy Web Compiler), a Rust-based compiler; Vite is optimized for it out of the box.

Vite (SWC compiler)

Is a simple and fast solution thanks to it's "zero-config" approach which offers a smoother development experience.

React - TypeScript React - JavaScript Vanilla TypeScript Vanilla JavaScript
React & TS
Repo
React & JS
Repo
TS
Repo
JS
/

Webpack (Babel compiler)

Is more a flexible solution, capable of handling complex configurations.

React - TypeScript React - JavaScript Vanilla TypeScript Vanilla JavaScript
React & TS
Repo
React & JS
Soon!
TS
Soon!
JS
Repo

Back to:arrow_up:


🌐 Browsers support

The provided configuration ensures 92.3% coverage for all browsers, in particular of the following:

Chrome Firefox Edge Opera Safari
Google Chrome Mozilla Firefox Microsoft Edge Opera Apple Safari

* In order to support a wider percentage of browsers, update the ./.browserslistrc configuration file:

  1. last 3 versions: browser version;
  2. > 0.2%: browser usage statistics;
  3. not dead: whether the browser is officially supported;

Update the configuration here and check in real-time the global browsers support.

* The more versions to support, larger JS and CSS bundles size will be.

Back to:arrow_up:


👥 Contribute

Contributions are what make the open source community such an amazing place to learn, inspire, and create.
Any contribution is greatly appreciated: big or small, it can be documentation updates, adding new features or something bigger.
Please check the contributing guide for details on how to help out and keep in mind that all commits must follow the conventional commit format.

How to contribute:

  1. Get started;
  2. For a new feature:
    1. Create a new branch: git checkout -b feat/NEW-FEATURE;
    2. Add your changes to the staging area: git add PATH/TO/FILENAME.EXTENSION;
    3. Commit your changes: git commit -m "feat: NEW FEATURE";
    4. Push your new branch: git push origin feat/NEW-FEATURE;
  3. For a bug fix:
    1. Create a new branch: git checkout -b fix/BUG-FIX;
    2. Add your changes to the staging area: git add PATH/TO/FILENAME.EXTENSION;
    3. Commit your changes: git commit -m "fix: BUG FIX";
    4. Push your new branch: git push origin fix/BUG-FIX;
  4. Open a new pull request;

Back to:arrow_up:


📑 License

All logos and trademarks are the property of their respective owners.
Everything else is distributed under the MIT License .
See the LICENSE file for more informations.

Back to:arrow_up:


💎 Acknowledgements

Special thanks to:

Back to:arrow_up:

vite-vanilla-js's People

Contributors

doinel1a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.