-
Notifications
You must be signed in to change notification settings - Fork 2
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
9881f65
commit e6ecb9b
Showing
7 changed files
with
107 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 🚀 lineicons release | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
release: | ||
name: 🚀 lineicons release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📚 checkout | ||
uses: actions/checkout@v2 | ||
- name: 🟢 node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org | ||
- name: installing packages | ||
run: npm ci | ||
- name: 🚀 publish | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
/dist | ||
tsconfig.tsbuildinfo | ||
tsconfig.tsbuildinfo | ||
node_modules |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
./node_modules | ||
./node_modules/ | ||
assets/images/ | ||
.DS_Store | ||
|
||
./**/images/ |
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
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
|
||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js" | ||
} | ||
} | ||
</script> | ||
|
||
<!-- Import your custom line-icon script --> | ||
<script type="module" src="../../dist/lineicons.js"></script> | ||
</head> | ||
<body> | ||
<div id="app"> | ||
<line-icon | ||
name="adobe" | ||
type="regular" | ||
style="width: 50px; height: 50px" | ||
></line-icon> | ||
<line-icon | ||
name="amazon" | ||
type="regular" | ||
style="width: 50px; height: 50px" | ||
></line-icon> | ||
<line-icon | ||
name="500px" | ||
type="regular" | ||
style="width: 50px; height: 50px" | ||
></line-icon> | ||
<p>{{ message }}</p> | ||
<!-- Use the line-icon component directly in Vue template --> | ||
</div> | ||
|
||
<script type="module"> | ||
import { createApp } from "vue"; | ||
|
||
createApp({ | ||
data() { | ||
return { | ||
message: "Hello Vue!", | ||
}; | ||
}, | ||
}).mount("#app"); | ||
</script> | ||
</body> | ||
</html> |
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
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