mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
b8b5190bc6
Currently, some of the things on the playground must be changed directly on the master branch while other things require checking out the gh-pages branch and making the modifications there. Even when changes need to be made on the master branch, all changes that are not direcly in owl itself need to be copied by hand to the gh-pages branch. This commit moves all files that exist on the gh-pages branch to the master branch in the docs folder, this change will require configuring the github page to use the docs folder instead of a separate branch, but will make maintenance of the github page and playground easier going forward.
22 lines
874 B
HTML
22 lines
874 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>OWL App</title>
|
|
<link rel="icon" href="data:,">
|
|
|
|
<link rel="stylesheet" href="app.css">
|
|
<script type="importmap">{ "imports": { "@odoo/owl": "./owl.js" } }</script>
|
|
<script type="module" src="app.js"></script>
|
|
</head>
|
|
<body>
|
|
<pre>
|
|
This app requires a web server, simply opening the html file using your browser will not work.
|
|
You can run a simple web server with one of the following:
|
|
- if you have python3 installed, run app.py with python3 or run 'python3 -m http.server' in the app folder
|
|
- if you have node/npm installed, run 'npx serve' in the app folder
|
|
- if you have php installed, run 'php -S localhost:8080 -t .' in the app folder
|
|
</pre>
|
|
<script>if (window.location.protocol !== "file:") document.querySelector("pre").remove()</script>
|
|
</body>
|
|
</html> |