基本は
npm create vite@latest
で作れる
<div id="root"></div>
ここにjsxを当て込んでいく
<html> | |
<head> | |
</head> | |
<body> | |
<form method="POST" enctype="multipart/form-data"> | |
<input type="file" name="svg" id="svg"> | |
<input type="submit"> |
admin | method | url | controller | name | title | |
---|---|---|---|---|---|---|
admin | get | /admin/news | NewsController | admin.news.index | admin news | |
front | get | /news | NewsController | admin.news.index | front news |
基本は
npm create vite@latest
で作れる
<div id="root"></div>
ここにjsxを当て込んでいく
DateTime date = new DateTime(jsonObj.birth_year, jsonObj.birth_month, jsonObj.birth_day, 12, 0, 0);
DateTime reference = new DateTime(2001, 1, 1, 0, 0, 0);
NSDate dd = NSDate.FromTimeIntervalSinceReferenceDate(
(date - reference).TotalSeconds);
event_date.DateValue = dd;
DateTime d = DateTime.Parse(event_date.DateValue.ToString());
# BEGIN Redirect to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{ENV:HTTPS} !on
RewriteCond %{HTTP:X-Forwarded-Proto} http
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# END Redirect to https
moment.jsよりも分かりやすい
https://moment.github.io/luxon/#/install
<script src="https://cdn.jsdelivr.net/npm/luxon@3.0.4/build/global/luxon.min.js"></script>
var DateTime = luxon.DateTime;
var x = new URL(location.href);
//path 置換
x.pathname = '/aaa';
// hash置換
x.hash = 'user';
// query置換