Skip to content

Commit

Permalink
Merge pull request #77 from Tribler/feature/macos-page
Browse files Browse the repository at this point in the history
Add vue js file locally
  • Loading branch information
xoriole authored Apr 12, 2024
2 parents e87f9da + 4ef8f81 commit f34935c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions js/vue/petite-vue.iife.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions macos.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
a {
text-decoration: none;
}
[v-cloak] {
display: none;
}
</style>

<script type="application/ld+json">
Expand Down Expand Up @@ -259,10 +262,9 @@ <h4>Q: "tribler" cannot be opened because the developer cannot be verified.</h4>
</div>
</footer>

<script type="module">
import {createApp, reactive} from 'https://unpkg.com/petite-vue?module'

const store = reactive({
<script src="./js/vue/petite-vue.iife.js"></script>
<script>
const store = PetiteVue.reactive({
ghUser: 'Tribler',
ghRepo: 'tribler',
stableRelease: null,
Expand Down Expand Up @@ -349,7 +351,7 @@ <h4>Q: "tribler" cannot be opened because the developer cannot be verified.</h4>

store.fetchReleaseInfo();

createApp({store}).mount()
PetiteVue.createApp({store}).mount()
</script>


Expand Down

0 comments on commit f34935c

Please sign in to comment.