Coder Social home page Coder Social logo

Comments (9)

goblinfactory avatar goblinfactory commented on August 19, 2024 3

As a hack just so that I can play with the project, I've just been doing local built and include the .dist/prod directory in git.
I'm using cloudflare, hosting on CDN, (cloudflare pages) without any workers, just the static dist/prod folders.

Just deployed my blog with it for fun : https://blog.alanhemmings.com
I dont have a build step; other than git push locally, heheh!

I have this cheeky fake "makefile"

#!/bin/bash
nue build -r blog --production
git add -A
git commit -m "#208 $1"
git push

@tipiirai perhaps I've missed the intent of the OP's question though?

from nue.

tipiirai avatar tipiirai commented on August 19, 2024 1

Glad to hear that Nue worked for your use case! However, I don't see a client-side compiler implemented any time soon. It bloats the client and the code is not CSP (content security policy) compliant because of inner exec() or new Function calls. This would also increase the amount of maintenance work quite a bit. Maybe later, but not now.

Thanks!

from nue.

wangxingxing123654 avatar wangxingxing123654 commented on August 19, 2024

总之一个字,牛🐂nue

from nue.

Torres7707 avatar Torres7707 commented on August 19, 2024

from nue.

tipiirai avatar tipiirai commented on August 19, 2024

@goblinfactory — Wow, this is awesome! The deployment truly cannot be any simpler. Is there a good/simple document on how to setup Cloudflare for a setup like this? I'd like to post a quick tutorial to my website. Or maybe you make something that I can link to !?!

Noticed you have quite many blog posts on your site already. And the content is stellar. Reading about Stickystats right now. Btw: was "Stop using the phrase 'technical debt' it doesnt help the client" trending on HN the other day?

from nue.

tipiirai avatar tipiirai commented on August 19, 2024

Closing this issue because the topic brought up originally a non-goal: Nue JS is not going to be a standalone library with a client-side compiler.

from nue.

goblinfactory avatar goblinfactory commented on August 19, 2024

@tipiirai Let me write up a small blog post on steps to use nuejs with cloudflare, it really couldnt be simpler.
I'll ping you laterz on twitter when it's done. ciao, Alan
( I want to update my blog to use your latest nuemark first!

from nue.

goblinfactory avatar goblinfactory commented on August 19, 2024

@tipiirai I also want to write a short tutorial on picking up after the starter blog tutorial finishes and wiring up the feedback dialog to allow for comments, but need to think through what is the simplest way to enable this. So many options. e.g. use the getting started demo worker from cloudflare that posts to airtable; and then embed approved comments in an island marked with a data attribute. some experimentation needed ; but I first write a simple blog on what I did to get my blog hosted on Cloudflare pages. cioa, Alan

from nue.

goblinfactory avatar goblinfactory commented on August 19, 2024

@goblinfactory — Wow, this is awesome! The deployment truly cannot be any simpler. Is there a good/simple document on how to setup Cloudflare for a setup like this? I'd like to post a quick tutorial to my website. Or maybe you make something that I can link to !?!

Noticed you have quite many blog posts on your site already. And the content is stellar. Reading about Stickystats right now. Btw: was "Stop using the phrase 'technical debt' it doesnt help the client" trending on HN the other day?

re: stop using technical debt was trending
Aaah very nice! That wasn't my article that started trending, but glad it's being talked about. If you google the phrase you a lot of discussion on similar phrases going back about a year or more.

from nue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.