Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #2

Open
9 of 31 tasks
sorrycc opened this issue Oct 30, 2024 · 4 comments
Open
9 of 31 tasks

Roadmap #2

sorrycc opened this issue Oct 30, 2024 · 4 comments

Comments

@sorrycc
Copy link
Member

sorrycc commented Oct 30, 2024

v0.1.0

  • route、build、create
  • dev
  • user config
  • preview
  • generate

v0.2.0

  • the framework unified plugin system
  • ssr (build, none stream, stream, meta, ppr, ...)
  • tanstack query
  • tailwindcss
  • bundle with webpack
  • config cmd (set, get, list) @xiaohuoni feat: add config command #43
  • route file simplify (e.g. export component only) @xiaohuoni
  • generate with ai

v0.3.0

  • route with config
  • html
  • bundle deps
  • parser using rust

v0.4.0

  • server function
  • other ai features

v0.5.0

  • doctor
  • constraint
  • performance: chunk preload by routes
  • bundle with vite
  • tnf package
  • interactive config
  • interactive dev

others

@Xy2002
Copy link
Contributor

Xy2002 commented Nov 7, 2024

@sorrycc 对Tailwind CSS有什么特别的需求吗~ 我想试着做一些贡献

@sorrycc
Copy link
Member Author

sorrycc commented Nov 7, 2024

@Xy2002 还没具体想过,期望的方式是通过配置一键开启但不内置依赖,比如 tailwindcss: {} 。需要调研下竞品,看下怎么集成会用着比较顺。

@sorrycc sorrycc mentioned this issue Nov 7, 2024
10 tasks
@Xy2002
Copy link
Contributor

Xy2002 commented Nov 7, 2024

@Xy2002 还没具体想过,期望的方式是通过配置一键开启但不内置依赖,比如 tailwindcss: {} 。需要调研下竞品,看下怎么集成会用着比较顺。

Tailwind的官网里写到 Tailwind CSS 作为 PostCSS 插件安装是将其与构建工具(如 webpack、Rollup、Vite 和 Parcel)集成的最无缝方式。看了一下几个框架,例如:在 Nuxt 中启用对 Tailwind 的支持是通过 @nuxtjs/tailwindcss 这个插件,它本质上是在注册PostCSS插件以支持 Tailwind,又或者 Next.jsSvelteKit 都是通过 PostCSS 插件以支持 Tailwind。 但是tnf使用mako作为构建工具,而mako好像目前还无法使用PostCSS,所以应该不能使用 PostCSS Plugins 的方式对Tailwind CSS进行支持。

因此,我的想法是按照类似于umi/plugins/tailwindcss的方式,使用 Tailwind CLI 来实现对Tailwind CSS的支持。

@sorrycc
Copy link
Member Author

sorrycc commented Nov 7, 2024

@Xy2002 嗯,可以先这么做。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants