O'Reilly logo

The Majesty of Vue.js by Kostas Maniatis, Alex Kyriakidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Source code

The following is the whole source code of the previous Managing stories example. Because the code is big enough I suggest you to open your local files with your favorite text editor, if you have downloaded our repo. The file is located at ~/themajestyofvuejs/apis/stories/.

If you haven't downloaded the repository you can still view the stories.html (https://goo.gl/wQ0zir) and app.js (https://goo.gl/0wqtrh) files on GitHub.

The stories.html file:

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial- scale=1"> <title>Stories</title> <link rel="stylesheet"href="https://maxcdn.bootstrapcdn\ .com/bootstrap/3.3.2/css/bootstrap.min.css"> </head> <body> <main> <div class="container"> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required