GithubHelp home page GithubHelp logo

devstack06 / memes-maker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qwertypool/memes-maker

0.0 0.0 0.0 778 KB

Made using ReactJS , tailwind css and imgflip API to generate memes

JavaScript 0.59% HTML 0.08% CSS 99.33%

memes-maker's Introduction

This project was bootstrapped with Create React App.

Added the dark mode theme

ScreenShot:

ipl



STEP-WISE INSTALLING TAILWIND CSS IN REACT JS:

  1. npm install tailwindcss

  2. npx tailwindcss init(It will create tailwind.config.js)

  3. Make a file postcss.config.js and add,

    module.exports = { plugins: [
    // ...
    require('tailwindcss'),
    require('autoprefixer'),
    // ...
    ]
    }


  4. npm add postcss-cli (check the package.json for updates in dependencies)

  5. npm install [email protected] (compatible with "tailwindcss": "1.8.10")

  6. In the src/index.css file add:
    @tailwind base;
    @tailwind components;
    @tailwind utilities;

  7. In the package.json file, add the scripts as: "scripts": {
    "build:css": "postcss src/index.css -o src/tailwind.css",
    "watch:css": "postcss src/index.css -o src/tailwind.css -w",
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
    }

  8. In src/App.js add
    import './tailwind.css';
  9. In the src/index.js also add:
    import './index.css';
    import App from './App';
    (Although they are already included still, confirm it so as to reflect the tailwind css effects of our components.)

  10. npm run build:css (It will create the tailwind.css file in src)

  11. npm start


memes-maker's People

Contributors

deepak821 avatar devstack06 avatar qwertypool 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.