Closed
Description
Steps to reproduce:
- Generate project with vue-router, my exact answers:
? Generate project in current directory? Yes
? Project name vue-app
? Project description A Vue.js project
? Author Jakub Bogucki <jakub.bogucki@xfive.co>
? Vue build runtime
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Setup unit tests No
? Setup e2e tests with Nightwatch? No
- Install dependencies
- edit
src/routes/index.js
:- remove
import HelloWorld from '@/components/HelloWorld'
- replace
component: HelloWorld
withcomponent: () => import('@/components/HelloWorld')
- remove
- build project for production
- open
dist/static/js/0.[hash].js
- format it so you can see it well :)
- somewhere in the file you should see something like that: