-
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.
Not sure why they did not display properly only on mobile. Switched to new approach using Vue components. Tweak ESLint config and enable it in the build.
- Loading branch information
1 parent
538d13a
commit ebb2586
Showing
11 changed files
with
103 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,10 +1,22 @@ | ||
import './assets/main.css' | ||
|
||
import { createApp } from 'vue' | ||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' | ||
import { library } from '@fortawesome/fontawesome-svg-core' | ||
import { | ||
faPlay, | ||
faPlus, | ||
faTimes, | ||
faStepBackward, | ||
faStepForward, | ||
faPause, | ||
faPlusCircle | ||
} from '@fortawesome/free-solid-svg-icons' | ||
import { faGithub } from '@fortawesome/free-brands-svg-icons' | ||
import YmPlayer from './YmPlayer.vue' | ||
|
||
import '@fortawesome/fontawesome-free/css/fontawesome.min.css' | ||
import '@fontsource/exo-2/index.css' | ||
|
||
const app = createApp(YmPlayer) | ||
app.mount('#ym-player') | ||
library.add(faPlay, faPlus, faTimes, faStepBackward, faStepForward, faPause, faPlusCircle, faGithub) | ||
|
||
createApp(YmPlayer).component('font-awesome-icon', FontAwesomeIcon).mount('#ym-player') |