nuxt / learn.nuxt.com Goto Github PK
View Code? Open in Web Editor NEW[Work in Progress] An interactive tutorial and playground for Nuxt
Home Page: https://learn-dev.nuxt.com
License: MIT License
[Work in Progress] An interactive tutorial and playground for Nuxt
Home Page: https://learn-dev.nuxt.com
License: MIT License
Color mode is not saving after changed and will roll back to system color after refresh.
Regarding to the usage of NuxtColorMode, we should set colorMode.preference
instead of colorMode.value
.
The preview pane should be bound to ui.panelPreview
and now it is binding to ui.panelDocs
learn.nuxt.com/components/MainPlayground.vue
Lines 47 to 49 in 1289604
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@unocss/eslint-plugin
, @unocss/extractor-mdc
, @unocss/nuxt
).github/workflows/autofix.yml
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
autofix-ci/action v1
.github/workflows/ci.yml
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
package.json
@shikijs/core ^1.2.4
@shikijs/monaco ^1.2.4
@volar/monaco ^1.11.1
@vue/language-service ^1.8.27
@webcontainer/api ^1.1.9
@xterm/addon-fit ^0.10.0
@xterm/xterm ^5.5.0
birpc ^0.2.17
floating-vue ^5.2.2
jszip ^3.10.1
monaco-editor ^0.47.0
monaco-editor-textmate ^4.0.0
monaco-textmate ^3.0.1
onigasm ^2.2.5
shiki ^1.2.4
splitpanes ^3.1.5
strip-json-comments ^5.0.1
theme-vitesse ^0.7.8
unified ^11.0.4
vue ^3.4.21
vue-router ^4.3.0
@antfu/eslint-config ^2.13.0
@iconify-json/logos ^1.1.42
@iconify/json ^2.2.198
@nuxt/content ^2.12.1
@nuxt/devtools ^1.1.5
@nuxt/eslint ^0.3.1
@nuxt/kit ^3.11.2
@nuxtjs/color-mode ^3.3.3
@nuxtjs/seo 2.0.0-rc.10
@pinia/nuxt ^0.5.1
@unocss/eslint-plugin ^0.59.0
@unocss/extractor-mdc ^0.59.0
@unocss/nuxt ^0.59.0
@vueuse/nuxt ^10.9.0
eslint ^9.0.0
eslint-plugin-format ^0.1.0
execa ^8.0.1
fast-glob ^3.3.2
fuse.js ^7.0.0
monaco-editor-core ^0.47.0
nuxt ^3.11.2
nuxt-icon ^0.6.10
pathe ^1.1.2
remark-external-links ^9.0.1
typescript ^5.4.4
vue-tsc ^2.0.11
pnpm 8.15.6
templates/basic/.layer-playground/package.json
birpc ^0.2.14
templates/basic/package.json
pnpm 8.15.6
Hi, Fu,
I'm afraid there is something wrong with this site https://learn-dev.nuxt.com/
I got "Page Not Found" tips when visited it.
Might you confirm that in your free time.
Well, take good care of yourself.
why not toke some photos in Spring, you have not update your Instagram for a long time. Make some time for relax!
Wish you best!
Hi Anthony,
I am a beginner hoping to learn basics of WebApp development by following along.
In doing so, I think I'll watch and rewatch the process to apply to some of my own projects. For that, I've made a different kind of summary to link to your chapters and videos. See here for an example.
Do you think this is useful or a neusance if associated with your project? Perhaps I should be makeing it better before publishing or putting it in a different section of github?
Let me know your leaning and I'll either stop or continue on.
Thanks.
I think the first solution you try is right...
onMounted(() => {
watch(features, () => {
if (features.value.fileTree === true) {
if (ui.panelFileTree <= 0)
ui.panelFileTree = 20
}
else if (features.value.fileTree === false) {
ui.panelFileTree = 0
}
if (features.value.terminal === true)
ui.showTerminal = true
else if (features.value.terminal === false)
ui.showTerminal = false
})
})
The current solution just covered the real problem up, you shall try:
I'm experiencing the error after starting the dev server:
Internal server error: Soft-invalidated module "/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/nuxt/dist/app/entry.js" should not have existing transform result
[nitro] [unhandledRejection] TypeError: Cannot read properties of null (reading '_file')
at ReactiveEffect.fn (/Users/a1mer/f/learn.nuxt.com/components/PanelDocs.vue:39:131)
at ReactiveEffect.run (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:162:19)
at get value [as value] (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:1138:33)
at unref (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:1021:29)
at Object.get (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:1027:35)
at _sfc_ssrRender (/Users/a1mer/f/learn.nuxt.com/components/PanelDocs.vue:70:16)
at renderComponentSubTree (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:685:9)
at renderComponentVNode (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:631:12)
at renderVNode (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:745:14)
at renderVNodeChildren (/Users/a1mer/f/learn.nuxt.com/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:761:5)
It don't influence the functions of the website.
And, if I reload the page, the error will disappear.
The occurence pattern:
If I have opened http://localhost:3000
, then restart the dev server, I'll give this error immediately.
If I haven't opened http://localhost:3000
, then I need to reload once or twice to see this error.
However, it will disappear after reloading the page unless I restart the dev server.
There are two errors in the console, later Cannot read properties of null
is a new one.
The first error has been there for a bit long period.
Should the terminal be resizable and/or collapsible? Or is it better to always show it to see what is happening?
I've used this in the past: https://github.com/antoniandre/splitpanes
Not sure if it is maintained anymore though
Currently the play.previewLocation
cannot been set in wc.on('server-ready')
previewLocation
may change back to ref
instead of reactive
Most of the links in guide click unresponsive.
Small feature aiming to immediately show/hide the terminal
(This can be applied to all panels in the future)
I implemented this feature according to my own ideas. Here is the modified code. If you think it's acceptable, I will submit a pull request. Thank you.
gaojy62@c217511
I found that you made a mistake in one place, "ui.panelDocs" should be changed to "ui.panelPreview".
Here:
<Pane :size="ui.panelDocs" min-size="10">
<PanelPreview />
</Pane>
<Pane :size="100 - ui.panelEditor - ui.panelDocs">
<PanelTerminal :stream="play?.stream" />
</Pane>
When I download zip, I get a folder containing node_module, should it be ignored?
Hello, can I run a PR with a panel system like Replit? It seems difficult but I want to improve my UI building skills.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.