Svelte Store is a Svelte application showcasing the implementation and usage of Svelte stores. Svelte stores are reactive stores that hold a piece of state that can be shared across components.
- 🚀 Lightweight and fast Svelte application.
- 🔄 Demonstrates how to use Svelte stores to manage shared state.
- 📦 Easy to set up and start experimenting with Svelte.
To run this application locally, make sure you have Node.js installed.
- Clone this repository to your local machine:
git clone https://github.com/JayCabasag/svelte-store.git
cd svelte-store
- Install the dependencies:
npm install
- Start the development server:
npm run dev
The application should now be running locally at http://localhost:5000
.
Once the development server is running, open your web browser and navigate to http://localhost:5000
to view the application. Interact with the app and observe how Svelte stores manage and synchronize the shared state between components.
Feel free to explore the code in this repository to understand how the Svelte stores are implemented and utilized.
Contributions are welcome! If you find any issues or want to enhance the project, follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name (
git checkout -b my-new-feature
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push the changes to your forked repository (
git push origin my-new-feature
). - Create a pull request explaining your changes and their benefits.
This project is licensed under the MIT License - see the LICENSE file for details.
Please remember to replace the project_logo.png
and demo.gif
links with the actual URLs to the logo and demo (if available) in your repository. Also, update the repository link in the installation section with the correct link to your forked repository.