diff --git a/examples/create-react-app/.env b/examples/create-react-app/.env
new file mode 100644
index 00000000..9fb38bf9
--- /dev/null
+++ b/examples/create-react-app/.env
@@ -0,0 +1,5 @@
+
+
+SASS_PATH=src/assets/\_scss/loadPathsExample
+NODE_PATH=node_modules/
diff --git a/examples/create-react-app/package.json b/examples/create-react-app/package.json
index 2e146148..b51fe525 100644
--- a/examples/create-react-app/package.json
+++ b/examples/create-react-app/package.json
@@ -45,7 +45,9 @@
]
},
"devDependencies": {
+ "animate-sass": "^0.8.2",
"jest-preview": "file:../..",
- "npm-run-all": "^4.1.5"
+ "npm-run-all": "^4.1.5",
+ "sass": "^1.50.0"
}
}
diff --git a/examples/create-react-app/src/App.tsx b/examples/create-react-app/src/App.tsx
index b1caf790..70036053 100644
--- a/examples/create-react-app/src/App.tsx
+++ b/examples/create-react-app/src/App.tsx
@@ -6,6 +6,7 @@ import styles from './style.module.css';
import './App.css';
import './assets/css/App.css';
+import './assets/_scss/style.scss';
function App() {
const [count, setCount] = useState(0);
@@ -17,6 +18,17 @@ function App() {
Create React App example
Styled by CSS Modules
+
+ This text is styled by global configured SASS
+
+ This text is styled by imported SASS
+
+ This text is styled by SASS from load paths
+
+
+
An animated element style using @import ~
+
Watch me fade in!
+