Skip to content

Commit

Permalink
modify README
Browse files Browse the repository at this point in the history
  • Loading branch information
doyaaaaaken committed Jun 7, 2020
1 parent 6cbcb2f commit 1571818
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@ import EnvironmentSticker from "vue-environment-sticker";
Vue.component("environment-sticker", EnvironmentSticker);
```

The component itself does not include any CSS. You'll need to include it separately:

```javascript
import 'vue-environment-sticker/dist/vue-environment-sticker.css';
```

Alternatively, you can import the scss for complete control of the component styles:
```scss
@import "vue-environment-sticker/dist/vue-environment-sticker.css";
```


That's all!! You can use `environment-sticker` component like below.
```sh
<body>
Expand Down Expand Up @@ -89,11 +77,9 @@ you can install it directly in the browser through CDN.
<!-- use the latest vue-environment-sticker release -->
<script src="https://unpkg.com/vue-environment-sticker@latest"></script>
<link rel="stylesheet" href="https://unpkg.com/vue-environment-sticker@latest/dist/vue-environment-sticker.css">
<!-- or point to a specific vue-environment-sticker release -->
<script src="https://unpkg.com/vue-environment-sticker@0.2.0"></script>
<link rel="stylesheet" href="https://unpkg.com/vue-environment-sticker@0.2.0/dist/vue-environment-sticker.css">
```
That's all!! You can use `environment-sticker` component.
Expand Down

0 comments on commit 1571818

Please sign in to comment.