| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Integrate Stylescape with React and Vite for fast development and optimized production builds.
git clone https://github.com/stylescape/example-react.git
cd example-react
npm install
npm startsrc/
├── App.jsx # Main application component
├── main.jsx # Entry point with Stylescape imports
└── styles/
└── main.scss # Stylescape SCSS import
npm install stylescape react react-dom
npm install -D vite @vitejs/plugin-react sass// src/styles/main.scss
@use "stylescape";// src/main.jsx
import './styles/main.scss';
import 'stylescape';<div className="frame_main">
<header className="ribbon--top">
<input type="checkbox" data-ss="theme-toggle" />
</header>
<aside className="sidebar--left" data-ss="aside">
{/* Sidebar content */}
</aside>
<main className="main_content">
<div data-ss="accordion">
<details>
<summary>Accordion Item</summary>
<p>Content here</p>
</details>
</div>
</main>
</div>| Command | Description |
|---|---|
| npm start | Start development server |
| npm run build | Build for production |
| npm run preview | Preview production build |
Made with ❤️ by Scape Agency
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT license. See the LICENSE file for details.
| Back | FazBrowse Home | New Git URL |