Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Vue.js Development Notes

Shulou Source: shulou.com Published: 2022-06-03 05:29:43 11月24日 Update

1. Remove the "#" to modify the main.js file in the url, add mode: 'history'const RouterConfig = {mode:' history', routes: MainRoute} const router = new VueRouter (RouterConfig) 2, modify the nginx configuration file location / {root / usr/share/nginx/html; try_files $uri $uri/ / index.html$is_args$args; # # add this line of index index.html index.htm }

Tags: Files questions projects configurations notes development Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Technology Linux Redmi macOS