kopia lustrzana https://github.com/shoelace-style/shoelace
Fix bash highlighters
rodzic
23d749c1fd
commit
ab82ceaa2e
|
@ -37,7 +37,7 @@ The build is done through a combination of Stencil's CLI and a handful of custom
|
|||
|
||||
Start by [forking the repo](https://github.com/shoelace-style/shoelace/fork) on GitHub, then clone it locally and install dependencies.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
git clone https://github.com/YOUR_GITHUB_USERNAME/shoelace
|
||||
cd shoelace
|
||||
npm install
|
||||
|
@ -47,7 +47,7 @@ npm install
|
|||
|
||||
Once you've cloned the repo, run the following command.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm run start
|
||||
```
|
||||
|
||||
|
@ -61,7 +61,7 @@ Hot module reloading (HMR) is enabled for components, so changes will instantly
|
|||
|
||||
To generate a production build, run the following command.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Now you can [start using Shoelace!](/getting-started/usage.md)
|
|||
|
||||
If you don't want to use the CDN, you can install Shoelace locally with the following command.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm install @shoelace-style/shoelace
|
||||
```
|
||||
|
||||
|
@ -42,7 +42,7 @@ Instructions vary depending on the bundler you're using.
|
|||
|
||||
To use the custom elements bundle with webpack, install Shoelace first.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm install @shoelace-style/shoelace
|
||||
```
|
||||
|
||||
|
@ -108,7 +108,7 @@ While convenient for prototyping, importing all components will make your bundle
|
|||
|
||||
To use the custom elements bundle with Rollup, install Shoelace first.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm install @shoelace-style/shoelace
|
||||
```
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ Fortunately, there's a utility that will wrap Shoelace components so you can use
|
|||
|
||||
You can use [this utility](https://www.npmjs.com/package/@shoelace-style/react-wrapper) to wrap Shoelace components so they work like like regular React components. To install it, use this command.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm install @shoelace-style/react-wrapper
|
||||
```
|
||||
|
||||
|
@ -177,7 +177,7 @@ If that's too verbose, you can use a custom directive instead. 👇
|
|||
|
||||
You can use [this utility](https://www.npmjs.com/package/@shoelace-style/vue-sl-model) to add a custom directive to Vue that will work just like `v-model` but for Shoelace components. To install it, use this command.
|
||||
|
||||
```sh
|
||||
```bash
|
||||
npm install @shoelace-style/vue-sl-model
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue