Comments (9)
@linspw the error is because i'm compiling including the vue-i18n
dependency, to fix that i already added vue-i18n
as external dependency.
In this way, if anyone want to use the i18n feature must be to install vue-i18n
.
This would be fixed in the next beta release that i'm working on it
from vue-email.
@linspw thanks a lot for this solution! I'll be working to fix that error.
from vue-email.
Great @Dave136 , this is perfect, thanks for your help and attention!
from vue-email.
Same problem
from vue-email.
I've tried a lot of approaches to solve this, use vite to define VUE_PROD_DEVTOOLS, use the classic Node SDK, and a few other things, but nothing seem to let me go around this.
Also nuxt module devtool isn't working, but there's already an issue opened for this : #93
from vue-email.
The issue arises when NODE_ENV is set to 'production' in my Express server environment. We need a solution similar to the following (though I'm unsure how to implement it in a simple TypeScript repository):
// https://github.com/intlify/vue-i18n-next/issues/789#issuecomment-1356782726
export default defineConfig({
base: './',
resolve: {
alias: {
// ...
'vue-i18n': 'vue-i18n/dist/vue-i18n.runtime.esm-bundler.js',
},
},
})
from vue-email.
Solution for rollup:
https://github.com/PeterAlfredLee/vue-i18n-next/blob/ede3da6faded4f6a990bf14c5e28f78147154eb7/docs/guide/advanced/optimization.md?plain=1#L57
from vue-email.
@ChronicStone the issue with the devtools is already fixed, soon I'll be launch the next beta release with a lot of fixed issues.
from vue-email.
In typescript I made a fast fixing using:
global.__VUE_PROD_DEVTOOLS__ = false;
but it doesn't seem like the best way
from vue-email.
Related Issues (20)
- [unhandled] [500] The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object HOT 1
- How to improve html→text conversion
- How to run dev environment? HOT 5
- Customize app.compilerOptions HOT 8
- image baseurl should be runtime config HOT 1
- Imported prop types lead to errors HOT 2
- does i18n with named parameters work in .vue template? HOT 4
- ECodeBlock rendering issues in combination with ETailwind HOT 1
- How is baseUrl can be used in templates? HOT 1
- The `html` field must be a `string`. HOT 3
- Rendering external woff2 fonts HOT 2
- Bundle size / Tree shaking ? HOT 5
- Errors in documentation HOT 1
- Use i18n translations (messages) from vuei18n config file HOT 1
- i18n interpolation is not working HOT 1
- Nuxt compiler bug in production HOT 20
- Generate inline CSS
- Incorrect rendering of markdown HOT 1
- About external packages HOT 1
- Accept ETailwind without config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-email.