Giter Club home page Giter Club logo

magazine's Introduction

Installation

Install the latest version of node and npm to get started.

Run the following command in the base directory to install all the dependencies:

npm install

How to run/build

Run in development mode:

npm run dev

Generate a production build:

npm run build

You will be able to upload the 'dist/' folder created after running the above command to a host like Netlify so everyone can access it.

What is Parcel.js?

The website is being bundled using Parcel.js

Parcel will bundle all your assets HTML, CSS and JS out of the box. You can also install plugins if you want to use anything extra. By default Parcel is performs code transformations using Babel, PostCSS and PostHTML (e.g. you can write es6 code directly). It is watching for code changes and replaces modules automatically in the browser if needed.

You can read more about it here: https://parceljs.org/

What is a package.json file?

If you want to know about the package.json file: https://dev.to/easybuoy/understanding-the-package-json-file-3fdg#:~:text=json%20file-,A%20package.,and%20a%20whole%20lot%20more.

VScode Live Server extension

If you don't want to use parcel then just install the 'Live Server' (https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) extension in VSCODE and get started right away! You don't need to install any dependencies or use package.json file for that. However, you won't be able use es6 or third-party libraries in that case. Parcel.js does all the heavy-lifting for you.

magazine's People

Contributors

abdulrauf11 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.