パRails🚂
rails s
できない可能性が高いです。
@shodan
@sadanora
3-5 「HTTPとRailsアプリケーション」から
PR:
p164の冒頭から?
@sharoa
@shodan
200 OK
)が来る前に、読み込むアセットのヒントをレスポンスと(103 Early Hints
)して受け取るという仕組みがある。@moegi29
@sadanora
@ayu-0505
@hiromisugie
@motohiro-mm
@sadanora
164pから、170p 3章最後まで。
PR:
Part 2 Railsの周辺知識 第4章 「フロントエンドの開発手法」から。🚂
@sharoa
early hints
が確認できてよかったです。nonce
を活用してより細かい指定をする。なんだかむずかしい。。。@sadanora
Content-Security-Policy
ヘッダーを追加する必要がある@moegi29
https://localhost:9090/todos
でh2oからEarlyHintsで出力?されているページが見れた!ありがとうございます。@motohiro-mm
@hiromisugie
config/initializers/content_security_polucy.rb
で設定できるnonce
というのがあり、nonce属性があるscriptタグのみ実行できるようになるらしい。※あたらしいリポジトリを作成したりなどで読めていないです。
PR:
@sharoa
@moegi29
4章 「フロントエンドの開発手法」から
4-1-2 「Webpackerの基本的な動作」の途中まで。
PR:
4-1-2 174pの途中(ビルドが完了すると~)から。🚂
途中のwebpacker:compile
ができなくて
みんなで原因を考えていた。
@hiromisugie
@motohiro-mm
4-1-2 174pの途中(ビルドが完了すると~)から
177p の4-1-3の前まで。
PR:
4-1-3 「Webpackerの設定ファイル」から。🚂
@sharoa
webpacker
って曲者??というイメージしかいまのところ無いですw@hiromisugie
@ayu-0505
@moegi29
@sadanora
sprockets
はjavascript_include_tag
webpacker
はjavascript_pack_tag
webpacker
がコンパイルしたファイルを確認できてよかったです。@motohiro-mm
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
と書くor
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing