- islands architecture によって初期で読み込まれるJSサイズが少ない
- ほぼ0にすることも可能
- https://docs.astro.build/en/concepts/islands/
- 元々、Webサイト(静的サイト)に特化したフレームワークなので、他のフレームワークと違い使い勝手がいい
- 言葉では伝えづらいのですが、「これだよこれ!」感がとても強いのです。
https://docs.astro.build/en/concepts/why-astro/ Astroは、コンテンツに特化した 高速な Webサイトを構築するためのオールインワン Webフレームワークです。 >
- 言葉では伝えづらいのですが、「これだよこれ!」感がとても強いのです。
2020/5/31追記:
自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。
このドキュメントを完成させるために、今後以下のような更新を予定しています。
- TODO部分を埋める
- 書籍を基にした理論・原則パートと、実装例パートを分割
- 現在は4層のレイヤそれぞれごとに原則の確認→実装時の課題リスト→実装例という構成ですが、同じリポジトリへの言及箇所がバラバラになってしまう問題がありました。更新後は、実装時の課題リストを全て洗い出した後にまとめて実装を確認する構成とする予定です。
2021/1/22追記:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------------------------------------------- | |
MTAppjQuery プラグイン設定:ここから | |
「変数 js_include に追加(</head>の直前)」あたりに下記を追加 | |
※APIキーは別途取得しておく必要があります。 | |
※必要に応じて、システムまたは任意のウェブサイト/ブログのプラグイン設定に追加してください。 | |
------------------------------------------------------------------------ */ | |
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key={ここにAPIキー}"></script> | |
/* --------------------------------------------------------------------- | |
MTAppjQuery プラグイン設定:ここまで |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Ref: Using git diff, how can I get added and modified lines numbers? - Stack Overflow - | |
# http://stackoverflow.com/questions/8259851/using-git-diff-how-can-i-get-added-and-modified-lines-numbers | |
path= | |
line= | |
while read; do | |
esc=$'\033' | |
if [[ $REPLY =~ ---\ (a/)?.* ]]; then | |
continue | |
elif [[ $REPLY =~ \+\+\+\ (b/)?([^[:blank:]]+).* ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fish completion for nodebrew | |
function __fish_nodebrew_needs_command | |
set cmd (commandline -opc) | |
if [ (count $cmd) -eq 1 -a $cmd[1] = 'nodebrew' ] | |
return 0 | |
end | |
return 1 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ================================================== | |
Lock Screen | |
================================================== */ | |
#mtapp-lock-screen { | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
z-index: 99999; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var plugin = JavaScriptPlugin.define( | |
'export-issues', '1.0.0', | |
'Naoki Takezoe', | |
'https://twitter.com/takezoen', | |
'Export issues as JSON from REPO_URL/issues/export.' | |
); | |
plugin.addRepositoryAction('/issues/export', function(request, response, repository){ | |
var issues = plugin.db().select("SELECT * FROM ISSUE WHERE "+ | |
"USER_NAME ='" + repository.owner() + "' AND " + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 目次 | |
+ JavaScript オブジェクトと値の型 |
NewerOlder