Blog

Build a SvelteKito blog

Learn how to build a blazingly fast and extendable SvelteKit Markdown blog for poets.

imagem

init

  • Banana
  • Uva
  • Maçã

ssss

Use the init command to initialize dependencies for a new project.

The init command installs dependencies, adds the cn util, configures tailwind.config.cjs, and creates CSS variables for the project.

typescript
function add(a: number, b: number) {
	return a + 'b'; 
	return a + b; 
}
function add(a: number, b: number) { return a + 'b'; // [!code error] return a + b; // [!code warning] }
ts
export function foo() {
  console.log('hewwo') 
  console.log('hello') 
}
export function foo() { console.log('hewwo') // [!code --] console.log('hello') // [!code ++] }