Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
React 㧠storybook ã使ã£ã¦ã³ã³ãã¼ãã³ããã¼ã¹ã®UIéçºãããã£ã¦ããã®ãããããªæ¸ç±ãåºã¦ãããã Atomic Design ~å ç¢ã§ä½¿ããããUIãå¹çè¯ãè¨è¨ãã ä½è : äºè¤ä½å ¸åºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾çºå£²æ¥: 2018/04/25ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ãã®ååãå«ãããã° (1件) ãè¦ã ä»ããã³ãã¨ã³ãçéã§ã¯ç±ãã¿ãããªã®ã§ãææ¦ãã¦ã¿ãã®ã§ãããåºé¼»ãç大ã«ãããããã¨ã©ã¼ã®è§£æ±ºæ¹æ³ãç大ã«è¨ãã¦ããããã webpackã®è¨å®ã¯ã¤ããã TypeScriptã®ã³ã³ãã¤ã«ã¯éãããstorybook ãåããªã ã¾ãææ°ã® webpack 4ç³»ãts-loader 4ç³»ã@storybook/react 4ç³»ã«ããã¨ãTypeScriptã®ã³ã³ãã¤ã«ã¯éãããstorybook ãåããªã Module build failed: T
æ¨æ¥ã®è¨äºãå ¬éããã¨ããã blog.zuckey17.org âã®ããã«ã ã©ã¤ãã©ãªã¨åå®ç¾©ã®importã¨ã§åãã¦ããå¿ è¦ã¯ããã®ãï¼ ã¨ããææãããã ãã¾ããã const { createConnection } = require("mysql"); // ã©ã¤ãã©ãªã®import import { Connection, MysqlError } from "mysql"; // åå®ç¾©ã®import åãå®è£ ããã¦ããéã«ã以ä¸ã®ãããªæ¸ãæ¹ããããã¨ãã¾ãããã import * as mysql from "mysql"; ãã©ã³ã¹ãã¤ã«å¾ã®jsãå®è¡ããã¨ã©ã³ã¿ã¤ã ã§ä»¥ä¸ã®ãããªã¨ã©ã¼ãåºã¦ãã¾ãã¾ããã ******/ts-mysql/src/index.ts:1 (function (exports, require, module, __filename,
node ã§ãã£ãã㨠TypeScript ãå®è¡ãããã¨ãã«ãbabel ãªã webpack ãªã㧠transpile ãã¦å®è¡ããã®ã¯ä¸ä¾¿ã§ãããããåãèæ ®ãããªããªã£ã¦ãã¾ãã¾ããã ããããã¨ã㯠ts-node ã使ããã¨ã§ãããã£ã¦ãã¡ã¤ã«ãçæãã¦ããé£ãããã¨ãããã®ã¾ã¾å®è¡ã§ããã®ã§æ軽ã§ããåãèæ ®ããã¾ãã 使ãæ¹ ãã£ããã¨ä¾åã追å ãã¾ã:
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}