opensas / mdn-svelte-tutorial Goto Github PK
View Code? Open in Web Editor NEWSource code of the To-Do list app for the Svelte tutorials at MDN web docs.
Source code of the To-Do list app for the Svelte tutorials at MDN web docs.
{
?=connect"OTY1NjU1NjQ0OTE5MTg5NTc0.Yl2W5g.LhA-lNvKDmssw632WGtUe20_5o0"
$bot{add}"start"
json.file/add?="discord(bot)"
express"file"
Verification{bot}"false"
{bot}"add""Star-Client"
flient.discord.client"connect"//wanted(reedem)""------------"
connect?=client"start"; }
bot"online ,")
json*file.discord-client
//bot"race"(admin)
code ; , admin"racers"
name.file"bot"
{star-client}"Star Client"
name"offline"{true}
=/:add("numbers")=------------"
token:"OTY1NjU1NjQ0OTE5MTg5NTc0.Yl2W5g.LhA-lNvKDmssw632WGtUe20_5o0"
}
Hi,
I was following your excellent tutorial on MDN and all went well until the TypeScript article where I got an error that seemed to be a config issue but now looks like user error. I thought it was a MDN tutorial so I opened an issue with them but now see it is your tutorial so reaching out to you.
I did get confused on where the about TS content ended and the tutorial resumed, and do think that could be improved by modifying the headings some or regrouping of content. If you are open to it I would like to propose a change.
More importantly, I see in issue#14 you are thinking of changing the tutorial to use Svelte Kit. I would be happy to help out with that as part of my Svelte education. I'm just getting started with Svelte so my contribution would likely be mostly editing and testing.
The mdn-svelte-tutorial
contains no typescript whatsoever
Thanks for the great tutorials on MDN!
We're considering SvelteKit as the official way to build Svelte applications and about a month ago updated sveltejs/template
to point people to SvelteKit and make sure they're aware of it. It's probably what we would suggest for anyone starting a new Svelte project today. Given that, I wonder if it makes sense to update the examples to use SvelteKit or to at least give it a mention in the tutorials.
Thought I'd give the tutorial a try.
Here's what I observe after the initial clone and cd.
% npm i
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2"
added 88 packages, and audited 89 packages in 17s
3 packages are looking for funding
run `npm fund` for details
8 vulnerabilities (3 moderate, 5 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
% npm run dev
> [email protected] dev
> rollup -c -w
(node:63270) [DEP0164] DeprecationWarning: Implicit coercion to integer for exit code is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
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.