You don't need to install anything, write any scripts, or do any complex configuration. Just follow these steps to run your web application as a desktop application on Windows.
This simple app was built with vue and vuetify, and it runs well on AnyWebApp
wwwroot
for storage your web app assets.AnyWebApp.exe
After Starting AnyWebApp.exe
, a config file named AppConfig.json
will be generated.
You can specify the root directory of the web application, the scheme used for requests, the default startup URI, the window title, icon, size, and scaling ratio, etc. in the configuration file.
Below is the content about frequently asked questions and some usage tips.
If you are using Vue router and using 'history' mode, you can configure like this.
AnyWebApp.exe
, a config file named AppConfig.json
will be generated.EnableDocumentFallbackFiles
to true
After completing these steps, when your program requests a non-existent document resource,
it will return the document configured in the configuration file, such as index.html
.
This way, Vue Router can work in your web application.