Skip to content

Commit

Permalink
feat: update/convert to devbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Oct 16, 2024
1 parent 1f0a948 commit f64c4a8
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 8 deletions.
Binary file added .codesandbox/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Install Dependencies",
"command": "yarn install"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"install": {
"name": "install dependencies",
"command": "pnpm install"
},

"dev": {
"name": "dev",
"command": "yarn dev",
"runAtStart": true,
"preview": {
"port": 8123
}
},

"build": {
"name": "build",
"command": "yarn build",
"runAtStart": false
}
}
}
7 changes: 7 additions & 0 deletions .codesandbox/template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"title": "Quasar Framework",
"description": "Starter template for Quasar Framework",
"iconUrl": "https://raw.githubusercontent.com/codesandbox/sandbox-templates/main/vite-ts/.codesandbox/icon.png",
"tags": ["quasar", "vite", "javascript"],
"published": true
}
4 changes: 4 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Devcontainer",
"image": "mcr.microsoft.com/devcontainers/javascript-node:18"
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"private": true,
"scripts": {
"start": "quasar dev",
"dev": "quasar dev",
"build": "quasar build",
"post-update": "yarn upgrade",
"test": "echo \"No test specified\" && exit 0"
},
Expand Down
3 changes: 1 addition & 2 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ export default configure((/* ctx */) => {
* Leave these here for Codesandbox to work
*/
open: false,
host: '0.0.0.0',
port: 443
port: 8123
},

// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
Expand Down
6 changes: 0 additions & 6 deletions sandbox.config.json

This file was deleted.

0 comments on commit f64c4a8

Please sign in to comment.