Comments (2)
可行,但感觉没必要
常见的作法应该是创建一个 demo 用作示例,在模板中提供这个选项感觉会过于繁琐,因为不同模板要增加这个功能可能需要的代码时不一样的
比如 express 和 nextjs,增加的代码会有一些差别
但从使用者的角度来说,这个功能肯定是好的
我们可以考虑仅在 express 系列代码中添加 db 可选功能
from create-blocklet.
赞同,只在 express 系增加 db 可选功能。
from create-blocklet.
Related Issues (20)
- [BUG] The dependency conflict when create a static react app HOT 1
- [Bug] The default deploy action of static react project breaks if I use npm instead of yarn. HOT 1
- 使用 create blocklet init 的 react+express+ts 项目无法启动成功 HOT 1
- [Feature]: 希望我们的创建包是基于 ESM 的 HOT 1
- [feature] 在创建应用时,能自动生成一个好看的图标 HOT 1
- react+express 创建出来的项目,如果缺少依赖导入,也不会提示错误 HOT 2
- The command `vite eject` seems to be invalid
- Windows环境下创建Blocklet报错 HOT 1
- Readme image broken HOT 1
- [Bug]: todo-list-example 无法正常 bundle, deploy HOT 1
- 需要把 api 中的 axios 替换为 js-sdk 的 createAxios HOT 1
- 能支持保存后端代码时重启调试,但不要重启 vite 插件,节省 coding -> preview 时间 HOT 2
- 新建的 react+express+typescript 项目 dev 时出现 __vite_hmr__ 426 问题 HOT 1
- opencompoent 会将组件打包成 mjs 文件,需要处理在 dev 模式开始开发 HOT 1
- 基于 react + express.js 模板创建 blocklet 时终端有报错,但是并没有影响走完流程 HOT 1
- [Bug]: nest.js 模板在开启文件系统隔离的server 中,使用 blocklet dev 启动失败报错: Access to this API has been restricted. Permission: process.binding HOT 2
- [Bug]: Error with nestjs in nodejs v22.5.x
- [Discuss]: 连续多次保存服务端代码出发热更新,可能会出现端口被占用的错误
- [Feature]: Add Vue3 TypeScript Static Template
- [Bug]: 生成的项目 blocklet.yml 中没有 name 字段
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-blocklet.