0👍
in vue.config.js file add this line to module.exports
publicPath:'/wt/',
this is htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wt/index.html [L]
</IfModule>
this is router config
let router = new Router({
base: '/wt',
mode: 'history', // https://router.vuejs.org/api/#mode
linkActiveClass: 'active',
scrollBehavior: () => ({y: 0}),
routes: configRoutes(),
});
- [Vuejs]-I want to change the color of the <li> with a select option using vue.js
- [Vuejs]-Vue ApexCharts is not smooth
Source:stackexchange.com