Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Unable to build, import App from './app'; fails #27

Open
tacman opened this issue Jul 15, 2018 · 1 comment
Open

Unable to build, import App from './app'; fails #27

tacman opened this issue Jul 15, 2018 · 1 comment

Comments

@tacman
Copy link

tacman commented Jul 15, 2018

I believe my dev environment is current, but can't build this app.

npm run dev

[email protected] dev /var/www/cordova/phonegap-template-vue-f7-tabs-exmample
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

28% building modules 152/154 modules 2 active ...es/framework7/dist/css/framework7.css[BABEL] Note: The code generator has deoptimised the styling of "/var/www/cordova/phonegap-template-vue-f7-tabs-exmample/node_modules/framework7/dist/framework7.esm.bundle.js" as it exceeds the max of "500KB".
94% asset optimization

ERROR Failed to compile with 1 errors 8:16:58 AM

This relative module was not found:

  • ./app in ./src/main.js

The offending line is

// Import App Component
import App from './app';

Very new to phonegap / vue / framework7, so not sure how to proceed. I imagine it's something easy, to load App.vue, but not sure how.

@tacman tacman changed the title Unable to build Unable to build, import App from './app'; fails Jul 15, 2018
@tacman
Copy link
Author

tacman commented Jul 15, 2018

Looks like

// Import App Component
import App from './App.vue';

fixes the issue. I'll submit a PR

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

No branches or pull requests

1 participant