scrimba
Preview
Advanced Props Interactive
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Advanced Props Interactive
AboutCommentsNotes
Advanced Props Interactive
Expand for more info
index.html
run
preview
console
<html>
<head>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link href="styles.css" rel="stylesheet">
</head>

<body>
<div id="app">

<!-- Set the title to a String, episode number to a Number and published to Boolean -->
<props />

<!-- Using only defaults, show a title, episode number and published to false -->
<props />

<!-- The published field should accept a Number or a Boolean -->
<props />

<!-- Add new optional prop for visible, then hide the component, if false -->
<props />

</div>

<script src="index.pack.js"></script>
</body>
</html>
Console
"Download the Vue Devtools extension for a better development experience: https://github.com/vuejs/vue-devtools"
,
"You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html"
,
/index.html
-5:11