Git Product home page Git Product logo

coffee's Introduction

Usage

To use this example you have to have Node.js and Yarn installed.

Install packages and run startup script:

yarn
yarn dev

Perform a production build:

yarn build

ESLint is used to check your JS code for errors, so make sure to install the following extension in VS Code: dbaeumer.vscode-eslint. Also a VS Code PostCSS Plugin could be required for correct syntax highlighting.

Vite will start a development webserver and use your index.html as an entrypoint. It will then resolve references to CSS, Image and JS files and compile these automatically whenever a file is saved.

You can configure additonal PostCSS plugins inside .postcssrc and change the supported browsers (CSS only) for autoprefixer inside .browserslistrc.

To make vite compatible with old browsers, the legacy plugin has to be activated.

After compilation you can check the dist folder to see what vite has written to the output files.

References

https://vitejs.dev/guide/

https://vitejs.dev/guide/features.html#css

https://vitejs.dev/guide/build.html

https://eslint.org/docs/user-guide/configuring

https://prettier.io/docs/en/configuration.html

coffee's People

Contributors

kluenderr avatar ericstumper avatar

Watchers

 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.