educative.io

Educative

El: ‘#app’ and .$mount('#app')

Tried running the setTimeout function for $mount('#app') in the code editor. When I run it, the message doesn’t change after 2 seconds.

@Adrienne_M
Can you please provide the name or link of the lesson?

Found the issue. The #CDN is outdated and needs to be changed for any of the code examples to work. THIS WAS DRIVING ME CRAZY…so I figured it out by looking it up:
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>

The default code you have (this no longer works) is:<script src="https://cdn.jsdelivr.net/npm/vue"></script>

@Adrienne_M
We are working to resolve this issue. It will be resolved soon.

1 Like