Giter Site home page Giter Site logo

Comments (8)

Amir9359 avatar Amir9359 commented on September 16, 2024 1

hi
i done this steps and it`s just worked i hope it works for you:

1 make init.sh

CHECK_OS="uname -s"
if [[ "$CHECK_OS" = "Darwin" ]]; then
sed -i '' 's/;;/;/g' node_modules/semantic-ui-css/semantic.min.css
sed -i '' 's/;;/;/g' node_modules/semantic-ui-css/semantic.css
else
sed -i 's/;;/;/g' node_modules/semantic-ui-css/semantic.min.css
sed -i 's/;;/;/g' node_modules/semantic-ui-css/semantic.css
fi

2 modify package.json scripts

"start": "./init.sh && react-scripts start",
"build": "./init.sh && GENERATE_SOURCEMAP=false react-scripts build",

Install :
yarn add --dev @semantic-ui-react/css-patch

or

npm install --dev @semantic-ui-react/css-patch

Add it as a postinstall script to your package.json:

{
"scripts": {
"postinstall": "semantic-ui-css-patch"
}
}

from reactivities-v6.

teengineer avatar teengineer commented on September 16, 2024

hi @Amir9359 ,
thanks for your feedback,

i am trying your code but I guess I'm missing something, I will be happy if you help me.

my package.json file

"scripts": {
"postinstall": "semantic-ui-css-patch",
"start": "./init.sh && react-scripts start",
"build": "./init.sh && GENERATE_SOURCEMAP=false react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},

and my init.sh file

CHECK_OS="uname -s"
if [[ "$CHECK_OS" = "Darwin" ]]; then
sed -i '' 's/;;/;/g' node_modules/semantic-ui-css/semantic.min.css
sed -i '' 's/;;/;/g' node_modules/semantic-ui-css/semantic.css
else
sed -i 's/;;/;/g' node_modules/semantic-ui-css/semantic.min.css
sed -i 's/;;/;/g' node_modules/semantic-ui-css/semantic.css
fi

from reactivities-v6.

hodhod212 avatar hodhod212 commented on September 16, 2024

from reactivities-v6.

teengineer avatar teengineer commented on September 16, 2024

from reactivities-v6.

hodhod212 avatar hodhod212 commented on September 16, 2024

from reactivities-v6.

teengineer avatar teengineer commented on September 16, 2024

I understand, sorry, I will open my github account immediately.

from reactivities-v6.

teengineer avatar teengineer commented on September 16, 2024

Hi @hodhod212 ,
I opened my Reactivities app on Github

from reactivities-v6.

hodhod212 avatar hodhod212 commented on September 16, 2024

from reactivities-v6.

Related Issues (7)

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.