Comments (8)
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.
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.
from reactivities-v6.
from reactivities-v6.
from reactivities-v6.
I understand, sorry, I will open my github account immediately.
from reactivities-v6.
Hi @hodhod212 ,
I opened my Reactivities app on Github
from reactivities-v6.
from reactivities-v6.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactivities-v6.