Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Vue -->
- <script src="https://unpkg.com/vue"></script>
- <script src="js/vue-script.js"></script> // custom Vue app code here
- <!-- main stylesheet link -->
- <link rel="stylesheet" href="css/style.css" />
- // Vue app in index.html -------------------
- <div id="app">
- ...all my elements...
- </div>
- // Vue app in js -------------------
- window.onload = function () {
- Vue.use(VueSmoothScroll);
- var app = new Vue({
- el: '#app',
- data: {
- projects: [
- {...some array 1...},
- {...some array 2...}
- ]
- }
- })
- }
Add Comment
Please, Sign In to add comment