webspresso 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -18
- package/bin/webspresso.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,24 +44,6 @@ npm run dev
|
|
|
44
44
|
|
|
45
45
|
> **Note:** New projects include Tailwind CSS by default. Use `--no-tailwind` flag to skip it.
|
|
46
46
|
|
|
47
|
-
### Manual Setup
|
|
48
|
-
|
|
49
|
-
```javascript
|
|
50
|
-
// server.js
|
|
51
|
-
const { createApp } = require('webspresso');
|
|
52
|
-
const path = require('path');
|
|
53
|
-
|
|
54
|
-
const { app } = createApp({
|
|
55
|
-
pagesDir: path.join(__dirname, 'pages'),
|
|
56
|
-
viewsDir: path.join(__dirname, 'views'),
|
|
57
|
-
publicDir: path.join(__dirname, 'public')
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
app.listen(3000, () => {
|
|
61
|
-
console.log('Server running at http://localhost:3000');
|
|
62
|
-
});
|
|
63
|
-
```
|
|
64
|
-
|
|
65
47
|
## CLI Commands
|
|
66
48
|
|
|
67
49
|
### `webspresso new <project-name>`
|
package/bin/webspresso.js
CHANGED
package/package.json
CHANGED