Comments (8)
I don't think this is related to local file access issues. Looks like it's pulling in the correct amount of files so it's definitely recognizing those files in the directory or else the page would probably be blank. If you click on the link does it redirect to another page? Any console errors?
from cms.js.
All links point to
http://localhost/cmsjs/#/posts/d
When I get there the page shows -
from cms.js.
Hey @tyeeman what does your directory index page look like? For example with Node Ecstatic server it looks like this:
from cms.js.
When I click on each of them I see the markdown.
from cms.js.
@tyeeman can you send over some details about your setup so we can try and recreate the issue?
- Browser (and version)
- OS
- Web server (and version)
from cms.js.
Hi Chris, like I said on my webspace I can see it's working just fine, but not on my localhost. I have two localhost apps (Laragon and Caddyserver, latest versions) and laragon shows like above and I just tried Caddyserver and it shows totally blank windows except for the title which shows fine. I'm on windows7, firefox 59.0.2.
from cms.js.
@tyeeman CMS.js hasn't been tested on Caddyserver to my knowledge but seems like to it should work on Laragon (looks like it's using Apache). Do you happen to know which version of Apache that Laragon is running?
If you don't mind switching web servers for localhost, you can use Node Ecstatic by installing http-server for Node.js.
- Install Node.js and NPM (if you haven't already) - follow this link to install on Windows
- From your command prompt run
npm install -g http-server
- Go to your directory in which you have your CMS.js project - i.e.
cd Projects/cms-js-project/
- Then run
http-server
in your command prompt
from cms.js.
@tyeeman let me know if you are still having issues. Closing this for now since it seems to be related to an unsupported web server.
from cms.js.
Related Issues (20)
- Allow to publish new content HOT 10
- markdown code area not correct HOT 1
- each page view requests all other pages HOT 5
- Split CMS.js file in to smaller parts HOT 9
- 1 day longer than normal
- Post list in example not displaying correct date
- Fix Google Crawler Issues HOT 2
- Can't put url on post metadata and pull them via the template engine HOT 2
- Gitlab Support HOT 1
- Feature Idea
- Support for websites without Indexing support HOT 6
- links replacing # with h1 due to markdown HOT 4
- null fileUrl causing errors
- Cannot read property 'split' of undefined HOT 3
- Issues trying to retrieve pages/posts file listing in SERVER mode HOT 4
- IE11 support / Object.assign() HOT 1
- Starter project not working
- Not working in NGINX
- Please add default dark theme
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 cms.js.