Nuxt.js ???? ??
?? Node.js? Yarn ?? npm? ???? ??? ?????. ?? ?? ???? ?? ? Nuxt.js ????? ????.
yarn create nuxt-app my-nuxt-project cd my-nuxt-project
?? ???? UI ?????, ???? ?? ??? ???? ??? ???? ??? ?? ??? ? ????.
???? ??
Nuxt.js? ?? ???? ??? ???, ?? ???? ? ??? ??? ????:
├── .nuxt/ # Automatically generated files, including compiled code and configuration ├── assets/ # Used to store uncompiled static resources, such as CSS, images, fonts ├── components/ # Custom Vue components ├── layouts/ # Application layout files, defining the general structure of the page │ └── default.vue # Default layout ├── middleware/ # Middleware files ├── pages/ # Application routes and views, each file corresponds to a route │ ├── index.vue # Default homepage │ └── [slug].vue # Dynamic routing example ├── plugins/ # Custom Vue.js plugins ├── static/ # Static resources, will be copied to the output directory as is ├── store/ # Vuex state management file │ ├── actions.js # Vuex actions │ ├── mutations.js # Vuex mutations │ ├── getters.js # Vuex getters │ └── index.js # Vuex store entry file ├── nuxt.config.js # Nuxt.js configuration file ├── package.json # Project dependencies and scripts └── yarn.lock # Or npm.lock, record dependency versions
- .nuxt/: ? ????? ???? ???? ???? ??? ?????. ????? ?? ??? ??? ????.
- ??/: CSS, JavaScript, ??? ? ????? ?? ?? ???? ?????. Nuxt.js? ?? ?? ??? ???? ?????.
- Components/: ??????? ?? ???? ???? ? ?? ??? ?? Vue ?? ??? ?????.
- ????/: ???? ????? ?????. ?? ????? ?? ?? ?? ?? ????? ?? ? ?? ?? ????.
- ???/: ? ??? ??? ???? ?? ??? ?? ?????. ?? ??? ??? []? ?????.
- middleware/: ??? ??? ??? ??? ??? ? ?? ??? ?? ????? ?????.
- ????/: Vue.js ????? ?? ??? ?? ?? ?????.
- static/: ??? ?? ?? ?? ?? ????? ?? ????, robots.txt ?? favicon.ico ?? ???? ? ?? ?????.
- store/: Vuex ?? ?? ????, ??, ??, getter ? ?? ???? ?? ??? ?????.
- nuxt.config.js: ???? ??? ??? ???? ? ???? Nuxt.js ?? ?????.
- package.json: ???? ??? ? ???? ??.
- Yarn.lock ?? npm.lock: ???? ???? ??? ??? ???? ??? ???? ??? ???? ?????.
??? ???
pages/ ????? index.vue ??? ????. ?????? ????? ??? ????.
<!-- pages/index.vue --> <template> <div> <h1>Hello from Nuxt.js SSR</h1> <p>{{ message }}</p> </div> </template> <script> export default { data() { return { message: 'This content is server-rendered!' }; }, asyncData() { // Here you can get data on the server side // The returned data will be used as the default value of data return { message: 'Data fetched on server' }; } }; </script>
Nuxt.js ??? ??? ????? ?? ? ???(SSR)? ????? ? ???(CSR)? ? ?? ?? ??? ????. Nuxt.js ??? ???? ?? ??? ??? ????.
???:
???? ????? URL? ???? ??? ??? ????.
??? ??? ?? ? ??? ?????.
?? ??:
Nuxt.js? nuxt.config.js? ?? ??(???? ??)? ????? ???? ???/ ?????? ??? ?????.
pages/index.vue ?? Pages/about.vue ? ?? ??? ??? ?????.
??? ?? ????:
Nuxt.js? ??? ?? ???? asyncData ?? fetch ???? ????(???? ??).
??? ???? API ?? ?? ??? ???? ???? ???? ?? ?? ??? ?????.
???? ?? ??? ????? ??? ???? ?????.
??? ???:
Nuxt.js? Vue.js? ??? ??? ???? ?? ??? ?? ??? ???? HTML ???? ?????.
HTML ?????

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Java ? JavaScript? ?? ?? ????? ??? ?? ?? ?? ???? ????? ?????. Java? ??? ? ??? ?????? ??? ???? JavaScript? ?? ? ??? ??? ?????.

JavaScriptCommentsareEnsentialformaining, ?? ? ???? 1) Single-LinecommentsERUSEDFORQUICKEXPLANATIONS.2) Multi-linecommentSexplaincleClexLogicOrprovidedEdeDDocumentation.3) inlineecommentsClarifySpecificPartSofcode.bestPractic

JavaScript?? ??? ??? ?? ? ? ?? ??? ???????. 1. ?? ??? ??? ???? ?? ??? ????. ISO ?? ???? ???? ???? ???? ?? ????. 2. ?? ??? ?? ???? ??? ?? ???? ??? ? ??? ? ?? 0?? ????? ?? ??????. 3. ?? ?? ???? ???? ???? ?? ?????? ??? ? ????. 4. Luxon? ?? ???? ???? ?????? ???? ?? ????. ??? ?? ???? ????? ???? ??? ????? ?? ? ????.

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

JavaScriptIspreferredforwebDevelopment, whithjavaisbetterforlarge-scalebackendsystemsandandandoidapps.1) javascriptexcelsincreatinginteractivewebexperiences withitsdynatureanddommanipulation.2) javaoffersstrongtypingandobject-Orientededededededededededededededededdec

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

javascriptassevenfundamentalDatatatypes : ??, ???, ??, unull, ??, ? symbol.1) ?? seAdouble-precisionformat, ??? forwidevaluerangesbutbecautiouswithfatingfointarithmetic.2) stringsareimmutable, useefficientconcatenationmethendsf

JavaScript ?? ????? ??????? ??? ?? ??? ??? ????? ?? ??? ????. ????? ??? ?????. 1. ?? ?? (CodesPlitting) ??, ?? ??? React.lazy ()? ?? ?? ?? ?? ??? ????? ??? ???? ? ?? ????? ??? ?? ??? ???????. 2. ???? ?? ?? (???)? ????, ES6 ?? ????? ???? "Dead Code"? ???? ?? ? ????? ?? ??? ??? ? ???????. 3. ?? ??? ???? ???? GZIP/BROTLI ? TERSER? JS? ???? ??? ????? ???? ?? ???? ??? ? ? ??????. 4. ??? ???? ???? day.js ? fetch? ?? ?? ?????? ??????.
