multi-page-application

How to create a multipage Vue.js application with pages on nested subdirectories by modifying vue.config.js?

拜拜、爱过 提交于 2020-07-22 05:52:31
问题 I have a multipage Vue.js application with working pages on domain/legal; domain/submit; etc. I've implemented that with the help of Vue.js' pages (i.e. customizing config.vue.js ) In other words, I'm all good making the above work. I'm now trying to implement further nested pages under a new subdirectory level (additionally to the ones I already have as per above). i.e. domain/org/profile1 domain/org/profile2 domain/org/profile3 Any way to make this work by customizing config.vue.js ?

Configure VueJS pages (multiple pages in vue.config.js) MPA

跟風遠走 提交于 2020-06-27 16:20:25
问题 I'm making a MPA , using an admin side and a client side. I need to configure the vue.config.js to do that. I found in the documentation that I need to make an object of every page. (https://cli.vuejs.org/config/#pages) These are the mines: module.exports = { pages: { admin: { entry: 'src/Admin/main.js', template: 'public/admin.html', filename: 'admin.html', title: 'Admin Page', chunks: ['chunk-vendors', 'chunk-common', 'admin'] }, index: { entry: 'src/Client/main.js', template: 'public

Laravel VueJS: building multi page app without resorting to single page application ( SPA ) approach

廉价感情. 提交于 2020-01-05 07:16:50
问题 I am trying to build a Laravel 5.5 + VueJs multi page app. I do not want to use SPA (Single Page Application) approach to make it seem to be a multi page app. This is the case with the registration page at the URL /register . With the command php artisan make:auth I get the registration related files. The scenarios is : In web.php , I have : Auth::routes(); In app.js , I have : window.Vue = require('vue'); const app = new Vue({ el: '#app', components: { Register: require('./components

multiple pages in Vue.js CLI

非 Y 不嫁゛ 提交于 2019-12-02 15:18:15
I'm having trouble figuring out how to have multiple pages in a Vue CLI project. Right now I have my home page with a few components and I want to create another page but I do not know how to do that. Am I supposed to create multiple html files where the index.html by default is? In a simple file structure with css js img folder and html files as pages I know that creating another html file means making another page. But I don't understand how this works with Vue CLI project. I saw stuff like vue-router and "pages" in Vue documentation but I do not understand them very well. What are my

multiple pages in Vue.js CLI

大憨熊 提交于 2019-11-27 19:54:58
问题 I'm having trouble figuring out how to have multiple pages in a Vue CLI project. Right now I have my home page with a few components and I want to create another page but I do not know how to do that. Am I supposed to create multiple html files where the index.html by default is? In a simple file structure with css js img folder and html files as pages I know that creating another html file means making another page. But I don't understand how this works with Vue CLI project. I saw stuff like