Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/react-sqljs-demoPublic template

A demonstration showing how to use sql.js with create-react-app

License

NotificationsYou must be signed in to change notification settings

sql-js/react-sqljs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a template repository demonstrating the use of sql.js with create-react-app.

The only differences with a traditional create-react-app application are :

  • The usage ofcraco to allow providing a customwebpack configuration
  • a small custom webpack configuration incraco.config.js to copy the wasm module from sql.js to the distributed assets

Note that you should make sure your server serves.wasm files with the right mimetype, that is:application/wasm. Otherwise, you'll see the following error:TypeError: Response has unsupported MIME type

Seesrc/App.js for the code.

About

A demonstration showing how to use sql.js with create-react-app

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp