Svelte

Revolutionize Your Stelve Projects with Plus UI: The Future of Component Libraries

Svelte Installation

  1. Install plusui core library:

npm install @plusui/core
  1. Import into your project:


<script>
/* your scripts. here. */
import '@plusui/core';
import '@plusui/core/style.css'; </script>
<main>
<h1>Hello Plus UI</h1> <div>
<plus-button status="primary">Click me</plus-button> </div>
</main>
<style>
/* your styles here */
</style>
 

  1. npm run dev

Creating a Svelte project

To begin creating a project with Svelte and Plus UI, follow these steps:

Set up a Svelte project if you haven't already. Start by installing Svelte via your terminal:

npx degit sveltejs/template svelte-plus-ui
cd svelte-plus-ui
npm install
2

for more information, visit below link 👇.

Get help

Plus UI is more than a library; it’s a community. Engage with fellow developers, share your Plus UI projects, and contribute to the library’s growth. Your insights, feedback, and contributions drive the evolution of Plus UI:

Last updated