-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cbcb2f
commit 1571818
Showing
1 changed file
with
0 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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/[email protected]"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/vue-environment-sticker.css"> | ||
``` | ||
That's all!! You can use `environment-sticker` component. | ||
|