Comments (10)
from contexter-cli.
To make the homepage work, I 'rigged' routes.js
and added some 'hacky' code.
Kind of forced it. Will not mind throwing it away for anything better 😀
Eh... don't add too many features to contexter-cli if it's just meant to serve as an example application.
You're right
...but that made me think that contexter-cli
could be a tool to develop and test single plugins
.
It was born to be an example application but could be used to show the capabilities of new plugins. I am thinking like a way to demo them (not the contexter
itself)
So any work on it could be useful (if it becomes too useful, then it can be forked to a contexter-dev
😜 )
Will add CLI --ignores
...let's see how it ends...
from contexter-cli.
live update instead of refresh page
@wmhilton Done!
Bumped to version 0.3.0
- Removed browser-sync (...oh! I forgot to remove dependency from package.json 😞 )
- Added SSE (server side events)
- Changed from Angular to Vue.js
Pilfered from:
- SSE - How to Add Simple Real Time Streaming to Your Express App with Server Sent Events
- JSON viewer - Building a JSON Tree View Component in Vue.js from Scratch in Six Steps
from contexter-cli.
"...the eagle has landed" ha ha 😄
I am glad you like it
from contexter-cli.
Oh bother, I see it's an Angular 1.x application. I've tried to hack on those before (linux-dash and local-npm) but have never learned enough to make sense of them. How long does it take to learn enough Angular 1.x to be dangerous do you think?
from contexter-cli.
Also where did you get those awesome file folder and JSON explorer components?
from contexter-cli.
the page refreshes and all my opened tree nodes get closed again
I used browser-sync because jus
used it
...but for this application, that has a "fixed" homepage, it will make more sense to use tools for 'dashboard-like' apps
from contexter-cli.
Bumped versions on both contexter
and contexter-cli
- Added
--ignore <dir-to-ignore>
, if omitted defaults tonode_modules
- Added
--all
, forces to watch all files, even files that do not have a corresponding plugin to process them. If omitted, ONLYdatafiles
andimages
are watched/contexted. I understand that this is a change on behavior because it defaults to optimize and "cherry-pick" from directory but IMHO is a better approach and the--all
flag keeps the old behavior available for applications likejus
that wants ALL the files "no matter what".
from contexter-cli.
Oh man, keeping up with your progress is gonna be a full-time job. I gotta try this!
from contexter-cli.
I feel like I should close this, because "enhancement: live update" is Mission Accomplished! (or Achievement Unlocked! or [Insert your favorite fist-pump victory here 💪])
from contexter-cli.
Related Issues (3)
- README images HOT 2
- catch errors thrown by image-size HOT 12
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 contexter-cli.