Home > front end >  Vue is suitable for the project to develop a large number of pages?
Vue is suitable for the project to develop a large number of pages?

Time:12-06

To develop a new project, bosses under consulting project development plan:
PC, similar to the background management system, more than 400 pages, each page is essentially echarts chart query, display, can use vue framework to achieve excuse me? If using the vue, someone said that the local development will be very card, routing lazily in the local doesn't work, because home page will introduce a index. The js files, will be very big, causing local run very card, this is the case? Online environment can run but no problem, right?

CodePudding user response:

Local card online to die, also not good too much,

CodePudding user response:

reference 1st floor qq_39192186 response:
local card to death, online also won't too much good,

Routing of lazy loading, someone will only play a role in the online environment, local development debug wouldn't be a lazy loading, is it?

CodePudding user response:

How can a project has more than 400 pages? Sure do not include dynamic mass participation, that too much,

CodePudding user response:

Ms
reference 3 floor billet response:
how a project has more than 400 pages? Sure do not include dynamic mass participation, that too much,

's a bit extreme, it is estimated that there will be more than 200 routing, it is pretty much of the page, the original poster if you have any requirements

CodePudding user response:

Can divide modules, multi-page application, even a page to generate a js can (Shared js independent packaging),
Card doesn't exist, as long as you don't need to SEO is no problem,

CodePudding user response:

refer to fifth floor SCSCMS sunlight response:
can module, multi-page application, even a page to generate a js can share (js will separate package),
Card doesn't exist, as long as you don't need to SEO is no problem,

Good?? ! Thank you big!

CodePudding user response:

I have been thinking about this thing, hundreds of pages is very normal, PC background volume also I consider one of the problems,
I have been considering a single page, if you can't do a single page, VUE can do more pages,
Better and more pages to maintain maintenance, especially the complexity of the page, at least they are separated

CodePudding user response:

With q, although not consider loading speed for the first time when I was the most attention is the development to preview the effect problem,
In HTML s I can be targeted to develop one page preview, seconds,

But SPA seems to need to build this speed, if did not develop too slowly

CodePudding user response:

Too much feeling vue development page also not appropriate

CodePudding user response:

According to the demand for, traditional page development

CodePudding user response:

not card, see you on the ability to control the performance of the global code, code quality

CodePudding user response:

Encapsulate some every common component display page, wrote more than 400 pages estimated component, only the background of query logic

CodePudding user response:

No no, as long as you can the global control, can

CodePudding user response:

Ms
reference 3 floor billet response:
how a project has more than 400 pages? Sure do not include dynamic mass participation, that too much,
project I do now is just a database table is 200 table, not to mention page,
Is a bother yourself into a single page, the user experience is just ok so a diu diu,

CodePudding user response:

Possible, reasonable use lazy routing, as long as it is through the ()=& gt; Import () to load the module, the vue packaged for individual modules when they break up, use it to be loaded into the page

CodePudding user response:

Upstairs a lot of people don't consider developing preview time? Not clear the vue can build to build a page alone? More than 400 pages not too big not too small projects, behind will add also don't know,

Now we also encountered this problem,
Finally select traditional development mode, to give up the single page development and use multiple page development

CodePudding user response:

Vue supports multi-page development, is not the problem,

CodePudding user response:

So that's it...

CodePudding user response:

More than 400 pages?
  • Related