Comments (2)
I'm on holidays at the moment so I can't verify but my guess is that it's trying to compile a.ejs
as a standalone file. Pingy has a convention where you use the underscore character to mark a file as a partial. Can you try renaming the file to _a.js
and include it as <%- include('_a', {a: 'a'}) %>
too. Let me know if that works for you.
from pingy-cli.
That fixed it, thank you!
from pingy-cli.
Related Issues (20)
- Don't use github API to check shorthand github URLS
- Use dint for checking export integrity
- Feature: Add support for redirects. HOT 2
- Support for Purify CSS HOT 1
- error on 'pingy dev' HOT 2
- Not transpile when more than one dot in name HOT 3
- Support for export/import package HOT 1
- Export options HOT 2
- Move to Yarn workspaces HOT 1
- Extend the config file with '--no-open' option HOT 1
- Can I import/export package using pingy-cli? HOT 1
- Please help with .ejs templates
- SCSS @import files are not live reloading HOT 2
- Export creates redundant dist subfolders HOT 5
- Extend debug messages HOT 2
- Config to export dist only contain needed files, folders? HOT 2
- how to add data.json to pug rendering? HOT 1
- Update insecure dependencies
- jquery
- Windows HOT 2
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 pingy-cli.