Skip to content

Blog of something I learn in part time job.

Notifications You must be signed in to change notification settings

mcseptian/mcseptian.github.io

Repository files navigation

Ini adalah blog untuk mencatat belajar coding,...

Mulai dengan perintah:

git clone ...
cd ...
npm install
npm run dev

Buka alamat localhost:5000 di peramban.

Ubah komponen di folder src, simpan, lalu muat ulang peramban.

Compile ulang untuk publikasi dengan perintah:

npm run build

Bisa dicek dulu di lokal dengan perintah npm run start.

Single-page app mode

Kamu bisa merubah script "start" di package.json sesuai kebutuhanmu, merubah blog ini menjadi SPA contohnya:

"start": "sirv public --single"

Sirv adalah server lokal untuk menampilkan hasil compile blog ini, kamu bisa tambahkan --host 0.0.0.0 setelah perintah sirv untuk cek di lokal.

Biasanya sirv hanya menampilkan file yang ada di folder public. Tentu kamu bisa merubahnya menyesuaikan dengan kebutuhanmu.

Note

If you want to use baseUrl or path aliases within your tsconfig, you need to set up @rollup/plugin-alias to tell Rollup to resolve the aliases. For more info, see this StackOverflow question.

Motivation to adopt svelte on my journey to write typescript is this blog post

About

Blog of something I learn in part time job.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •