-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
10 changed files
with
2,882 additions
and
2,634 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 @@ | ||
19.2.0 |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ export default { | |
</script> | ||
|
||
<style lang="less" scoped> | ||
main { | ||
#app { | ||
height: 100%; | ||
} | ||
nav { | ||
|
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,24 +1,20 @@ | ||
import Vue from 'vue'; | ||
import VueRouter from 'vue-router'; | ||
import { createApp } from 'vue'; | ||
import { createRouter, createWebHashHistory } from 'vue-router'; | ||
import App from './App.vue'; | ||
import routes from './routes'; | ||
|
||
Vue.use( VueRouter ); | ||
|
||
const router = new VueRouter( { | ||
const router = createRouter( { | ||
history: createWebHashHistory(), | ||
routes | ||
} ); | ||
|
||
Vue.directive( 'focus', { | ||
// When the bound element is inserted into the DOM... | ||
inserted: function ( el ) { | ||
// Focus the element | ||
el.focus(); | ||
} | ||
} ); | ||
|
||
new Vue( { | ||
el: '#app', | ||
router, | ||
render: ( h ) => h( App ) | ||
} ); | ||
const app = createApp( App ) | ||
.use( router ) | ||
.directive( 'focus', { | ||
// When the bound element is inserted into the DOM... | ||
inserted: function ( el ) { | ||
// Focus the element | ||
el.focus(); | ||
} | ||
} ) | ||
.mount( '#app' ); |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ export default { | |
}; | ||
</script> | ||
|
||
<style lang="less" scoped> | ||
<style> | ||
.page--home { | ||
display: none; | ||
} | ||
|
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