GithubHelp home page GithubHelp logo

talitazmiza / lasoyae-culinary-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 878 KB

Foods & Drinks Culinary Web App

HTML 1.82% CSS 0.99% JavaScript 97.18%
food-app reactjs laravel culinary tailwindcss react

lasoyae-culinary-app's Introduction

Overview La Soyae

image image image image image

Getting Started with Create React App

  1. install tailwindcss in ReactJS

    npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

  2. install and configure Craco with

    npm install @craco/craco

  3. update your scripts in your package.json file to use craco instead of react-scripts for all scripts except eject:

    remove ->

    "start": "react-scripts start",

    "build": "react-scripts build",

    "test": "react-scripts test",

    replace with ->

    "start": "craco start",

    "build": "craco build",

    "test": "craco test",

  4. create a craco.config.js, add tailwindcss and autoprefixer

    // craco.config.js

    module.exports = {

    style: {

    postcss: {

    plugins: [

     require('tailwindcss'),
     
     require('autoprefixer'),
    

    ],

    },

    },

    }

  5. generate your tailwind.config.js file with:

    npx tailwindcss-cli@latest init

  6. it'll create tailwind.config.js file, then edit purge in this this file

    from this -> purge: [],

    to this -> purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],

  7. open your ./src/index.css include Tailwindcss:

    /* ./src/index.css */

    @tailwind base;

    @tailwind components;

    @tailwind utilities;

  8. npm run start

    you're FINISHED, Happy Hacking!:)

NOTE:

if your caniuse-lite is oudated please run:

npx browserslist@latest --update-db

for server side please check out in https://github.com/dianasaurus-debug/lasoyae-backend

lasoyae-culinary-app's People

Contributors

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