Last active
June 16, 2020 02:26
-
-
Save KenoLeon/916e47fce2497453916ff4291dc6c101 to your computer and use it in GitHub Desktop.
Simple APP.vue starter from VUE UI CLI
This file contains hidden or 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
| <!-- FILE: App.vue --> | |
| <!-- NOTE: Install and Import bootstrap on main.js --> | |
| <template> | |
| <div id="app"> | |
| <bootsAlert/> | |
| </div> | |
| </template> | |
| <script> | |
| import bootsAlert from './components/bootsAlert.vue' | |
| export default { | |
| name: 'App', | |
| components: { | |
| bootsAlert | |
| } | |
| } | |
| </script> | |
| <style> | |
| #app { | |
| font-family: Avenir, Helvetica, Arial, sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| text-align: center; | |
| color: #2c3e50; | |
| margin-top: 60px; | |
| } | |
| </style> |
This file contains hidden or 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
| <!-- FILE: components/bootsAlert.vue --> | |
| <template> | |
| <div> | |
| <div class="alert alert-danger" role="alert" style="margin:auto;width:600px;"> | |
| Such Alert Very Danger ! | |
| </div> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'bootsAlert' | |
| } | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment