You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Edward Zhang (JIRA)" <ji...@apache.org> on 2017/11/10 10:21:00 UTC
[jira] [Created] (WEEX-104) How to handle component Route in weex?
Edward Zhang created WEEX-104:
---------------------------------
Summary: How to handle component Route in weex?
Key: WEEX-104
URL: https://issues.apache.org/jira/browse/WEEX-104
Project: Weex
Issue Type: Bug
Components: Web Renderer
Reporter: Edward Zhang
Assignee: Danz He
Attachments: 1.png, 2.png
*When I build weex app. I found every vue file will be generated a js file. And when I serve project. All of js files added to my html file. Why it is load all the files in it? How could I route my weex app? every js file content is below:*
var App = require('..\\src\\xxx.vue') // different vue file.
App.el = '#root'
new Vue(App)
*I think it is not good way to route entire app. Does anyone could support me snippet code?*
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)