Comments (13)
did you add a new language with code "ko" ?
from nuxt3-awesome-starter.
ah, it means that this warning appears because this template tries to find out the system language, then looks for it in the locales datashet. because the default language provided is en so they are trying to return en.
from nuxt3-awesome-starter.
thanks for your helps
from nuxt3-awesome-starter.
thanks for your response
I don't added code "ko"
I can't understand over warning in your project
only my browser language code is 'ko'
from nuxt3-awesome-starter.
is your browser language set to "ko - korean"?
from nuxt3-awesome-starter.
yes all right
if I change language to 'en', your warning don't not appear
from nuxt3-awesome-starter.
I tried to check the locales that are registered first, if there is not it will still return to "en", maybe this will get rid of the warning earlier.
you can check in this commit c1091ca
from nuxt3-awesome-starter.
yes
so what is yur solution to remove warning?
from nuxt3-awesome-starter.
try doing a git pull
to receive my latest commit update.
this commit should be c1091ca help
from nuxt3-awesome-starter.
your welcome, and i tried to add korean language too in this latest commit 84737af
I only use a direct language translator, if there are errors maybe you can contribute hahaha.
thanks!
from nuxt3-awesome-starter.
thanks @viandwi ๐๐๐
I have 3 beginer question(not issues)
I am cloning your awesome starter with nuxt3 init app
- can't use variable in app.scss
error: $fontFamily: undefined variable
I think that this is sass setting problem๐ - I already used locale files with .json but you used .yml file
what do you prefer .json vs .yml? - Your Components Architecture
// state:styles
const styles = reactive<{[key: string]: string}>(...)
๐ why do you use 'reactive' instead of 'ref'?
// state
const selectedXXX = computed(() => {...});
๐why do you use computed?
from nuxt3-awesome-starter.
-
u can check in this issue #13, I don't know where the error is exactly, because on my computer it runs smoothly (windows & macOS)
-
I prefer to use .yml why? because, making language translations is a very tedious thing. with .json it makes us think of tons of symbols like keys to pass (") and then some (,) to separate values, as well as nested objects that take up space.
with yml I just need to write easily and without much attachment to writing rules. -
why use reactive instead of ref? this is according to the documentation in vuejs, where reactive and ref are basically the same to create reactive data, the difference is that ref is used for primitive data (booleans, etc.) while reactive is for dynamic data (objects, arrays).
reactive also has the advantage that it can be accessed directly without the need to pass .value
then computed is used to detect changes in existing props, because of my fear when props change for example you use the button component, then change the style programminly, you will find the button component does not re-render itself, therefore I use computed to make sure when props style changes, then the selectedStyle that will be applied to the class will also change and force the button component to re-render itself.
from nuxt3-awesome-starter.
Awesome Answer โจ
thanks for your detail response
My Understand
- solution is windi.css version ( < 2.3.1)
- good
- reactive(sometimes not working with dynamic data)
etc (Vue Apex Chart Library...)
computed(detect change porps and then force rerendering with style)
My understand is right?
from nuxt3-awesome-starter.
Related Issues (20)
- [typescript template] not working - help wanted HOT 1
- Change default Nav Logo
- ERROR No "exports" main defined in /Users/****/node_modules/@nuxt/kit/package.json HOT 3
- V2 Major Update HOT 4
- [unhandledRejection] Cannot set headers after they are sent to the client HOT 9
- ่ฏท้ฎไธไธ๏ผๅฆๆๆๅ npm run build ๅ็้่ฏฏ๏ผ่ฏด no such file or directory, open 'D:/visual/\u535A\u5BA2/boke/pages/login.vue' HOT 1
- Nuxt Awesome Modules Core
- Document not found when deploying the project HOT 1
- Sunsetting Windi HOT 3
- ERROR Cannot find module 'unplugin-vue-components/vite' HOT 1
- pnpm run dev cannot run project HOT 3
- [Question] Has eslint already been implemented in the starter? HOT 2
- How to deploy this project to my own server๏ผ HOT 1
- Question: why are pages in different folders? HOT 1
- ESlint not working in non root folder HOT 1
- yarn add @nuxt-awesome/theme causes error in my project HOT 2
- Do u plan to implement @nuxtjs/i18n
- Execute command: yarn dev, Warning prompt: WARN warning: LintOnStart is turned on, and it will check for all matching files. come from Plugin: vite-plugin-eslint
- How to make it compatible with Internet Explorer?
- how to deplement
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 nuxt3-awesome-starter.