mirror of
https://github.com/tauri-apps/smoke-tests.git
synced 2026-01-31 00:35:18 +01:00
* add reason-react example * add reason-react example * remove package-lock * add tauri and webpack commands to package-json * remove dist folder from .gitignore * rename folder to transpiled for other examples * add mint starter example
25 lines
813 B
HTML
25 lines
813 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Reason Tauri example</title>
|
|
</head>
|
|
|
|
<body>
|
|
<script>
|
|
// stub a variable ReactJS checks. ReactJS assumes you're using a bundler, NodeJS or similar system that provides it the `process.env.NODE_ENV` variable.
|
|
window.process = {
|
|
env: {
|
|
NODE_ENV: 'development'
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<!-- This is https://github.com/marijnh/moduleserve, the secret sauce that allows us not need to bundle things during development, and have instantaneous iteration feedback, without any hot-reloading or extra build pipeline needed. -->
|
|
<script src="/moduleserve/load.js" data-module="/src/Index.bs.js"></script>
|
|
<!-- Our little watcher. Super clean. Check it out! -->
|
|
<script src="/watcher.js"></script>
|
|
</body>
|
|
|
|
</html> |