Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile problem related to new source #211

Closed
jungaria opened this issue Jul 13, 2020 · 1 comment
Closed

compile problem related to new source #211

jungaria opened this issue Jul 13, 2020 · 1 comment

Comments

@jungaria
Copy link

jungaria commented Jul 13, 2020

Hi, guys,

I'd like to ask you something easy which is difficult to me.

I am a newbie in vuejs especially in this boilerplate including webpack.
I want to make some app. based on this boilerplate.

I installed this boilerplate and then added vuetify to make an app. with responsive UI
It was not easy but finally they are working together.

image

when i added vuetify, helloWorld.vue is also added in ./src/components automatically.
but it is not complied(transpiled) so whenever i run "yarn dev" i see message like below

./HelloWorld in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/app.vue?vue&type=script&lang=js&

I want to know how I can compile HelloWorld.vue and make it included in output file like app.js
moving HelloWordl.vue to ./src was not working as well.

I just want to know small hints for that.

Thanks in advance
June, Chung

@jungaria
Copy link
Author

i found out the reason.

i added statement like this in app.vue

import HelloWorld from './components/HelloWorld'

it made an error( it must be ./components/HelloWorld.vue )

I thought it is okay when i import the component without its extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants