Skip to content

Lesson 7 Starting Code Doesn't Complie #2

Open
@NEWeber

Description

@NEWeber

Lesson 7 starting code as downloaded doesn't compile with the following error:

Failed to compile.

./src/router.js
Module not found: Error: Can't resolve './views/Timeline.vue' in '[path]/animating-vue-Lesson7_BEGIN/src'

Fix: remove this timeline code in router.js:

    {
      path: '/timeline',
      name: 'timeline',
      component: () =>
        import(/* webpackChunkName: "timeline" */ './views/Timeline.vue')
    }

and the line <router-link to="/timeline">Timeline</router-link> from App.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions