Download main.js from simplex5/sf-68d: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/simplex5/sf-68d/resolve/main/main.js
- Command line
-
hf download hf://spaces/simplex5/sf-68d/main.js
-
curl -L -o main.js https://huggingface.co/spaces/simplex5/sf-68d/resolve/main/main.js
343 Bytes
| import 'https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js'; | |
| import * as from './app.js'; | |
| const app = new App({ | |
| el: '#app', | |
| data: { | |
| message: '', | |
| }, | |
| methods: { | |
| handleInput: function(event) { | |
| this.message = event.target.value; | |
| }, | |
| }, | |
| created: function() { | |
| this.message = 'Initialize your message...'; | |
| }, | |
| }); |