phonegap-template-vue-f7-tabs icon indicating copy to clipboard operation
phonegap-template-vue-f7-tabs copied to clipboard

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

Open tacman opened this issue 7 years ago • 1 comments

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 avatar Jul 15 '18 12:07 tacman

Looks like

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

fixes the issue. I'll submit a PR

tacman avatar Jul 15 '18 12:07 tacman