Comments (9)
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.
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.
总之一个字,牛🐂nue
from nue.
from nue.
@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.
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.
@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.
@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 — 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)
- auto generate manifest.json file
- a bug in the nuecli root HOT 5
- unmounted() Why is it not executed?
- Reactive values are not updated? why? HOT 3
- Page router doesn't mount components. Refresh needed to properly mount. HOT 2
- "draw_sections: true" results in nested sections HOT 5
- When iterating collections: can we render the markdown content of an item? HOT 5
- three-tiered directory structure layout HOT 3
- Add default`text` property to default `data` object available to page layouts. HOT 1
- SPA demo not working when deploy on subpath of domain
- Nuemark: How to add svg inside a button HOT 2
- New website shaping up 🎉 HOT 6
- Option for pretty (extension-less) routes HOT 2
- RSS Feed Generation
- Simple Blog Post cannot load hero image & "Invalid date"? HOT 6
- Love the project! HOT 1
- nue --init not working under simple-blog HOT 4
- Help wanted: VS code extension
- `search` for documentation area HOT 2
- Glow highlighting issues
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 nue.