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

A Couple of Questions #114

Closed
Darth-Ness opened this issue Dec 13, 2023 · 5 comments
Closed

A Couple of Questions #114

Darth-Ness opened this issue Dec 13, 2023 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@Darth-Ness
Copy link

(Sorry if this is the wrong place for this)

  1. What is Nuemark and NueCSS?
  2. Will NueJS ever run in the browser without Node/Bun?
  3. How much space does NueJS and Nuekit take up once installed?
  4. Can I use NueJS and Nuekit on some pages but not others?
  5. How can I help with these projects?
@tipiirai
Copy link
Contributor

1a) Nuemark is an upcoming project that extends Markdown with sections and components. It allows you to write rich, interactive pages with purely with a Markdown-based syntax. It makes content the primary thing and focus when designing pages. ie "content first".

1b) Nue CSS is another upcoming project. It's essentially a CSS pre-processor, similar to SASS or Stylus, but is much more minimalistic and has smoother support to modern CSS features like variables. It also has tons of shortcuts like mb (margin-bottom) to make it more familiar for users of Tailwind. However, I'm planning to integrate Lightning CSS and Stylus to Nue first.

  1. I doubt it. That would make Nue JS browser component much bigger and it would violate CSP (content security policy) due to new Function() or exec, and Nuekit makes compilation feel transparent.

  2. Running bun i nuekit makes an empty directory weight 4.5M (next.js is ~335MB)

  3. Yes. The generated output is a folder with static files. You can push that to any static serving service like S3 and Netlify.

  4. In many ways. Getting to know the code, creating tests, fixing issues. Right now I need help to get bun create nue to work.

Thank you!

@tipiirai tipiirai added the question Further information is requested label Dec 14, 2023
@tipiirai tipiirai self-assigned this Dec 14, 2023
@Darth-Ness
Copy link
Author

Thanks for the reply.
3. Wow! That's a huge improvement! Would it be the same size for Node/NPM?
5. Okay, I'll try and see if there is any issues that I could help with.

@nobkd
Copy link
Collaborator

nobkd commented Dec 17, 2023

@tipiirai
When reading about Nuemark, I thought of MDC syntax from Nuxt Content:

Do you have something similar to this in mind?
See the spec issue and Readme

It might be an inspiration... 🤷

@tipiirai
Copy link
Contributor

@Darth-Ness yes. The size will be the same with Node/NPM

@tipiirai
Copy link
Contributor

@nobkd Nuemark syntax will be different. It aims to be good for content creators without HTML/JS skills. Think of marrying WordPress shortcodes and YAML.

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

No branches or pull requests

3 participants