vue-currency-filter | Lightweight vue currency filter based on accounting.js | Router library
kandi X-RAY | vue-currency-filter Summary
kandi X-RAY | vue-currency-filter Summary
Lightweight vue currency filter based on accounting.js
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vue-currency-filter
vue-currency-filter Key Features
vue-currency-filter Examples and Code Snippets
Community Discussions
Trending Discussions on vue-currency-filter
QUESTION
I have a Nuxt JS app setup to use Nuxt Auth. This works fine locally.
Specifically I am generating an email sent to the user with a link to reset their password of the form
http://localhost:3000/reset-password/ca62c3554c8058c9ddf11b709fc451405ffa99f4b22a88d84e087f5b40fb6d1f
When they click it - its picked up by a nuxt route which parses the JWT. Locally I serve it using nuxt start - which serves from the dist directory I believe and so should be a good test for static serving
When I deploy this to a remote lightsail server running Ubuntu and Plesk and Nginx and Apache I deploy it using nuxt generate and copy the content of the generated dist directory to the httpdocs directory. When the same workflow is followed and the user clicks the link it is not caught by one of the nuxt generated static html files and I get a 404. All other nuxt routes are being generated into files ok. What am I missing?
nuxt.config.js
ANSWER
Answered 2021-Jul-10 at 11:50The solution for this on Netlify was to add some specific configuration to the build for redirects. Created netlify.toml in the root of the repo branch being deployed from.
Netlify.toml contained:-
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue-currency-filter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page