You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Hanks Zhang (JIRA)" <ji...@apache.org> on 2018/07/05 09:37:00 UTC
[jira] [Closed] (WEEX-104) How to handle component Route in weex?
[ https://issues.apache.org/jira/browse/WEEX-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hanks Zhang closed WEEX-104.
----------------------------
Resolution: Not A Problem
> 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
> Priority: Major
> 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
(v7.6.3#76005)