ravorona / sage Goto Github PK
View Code? Open in Web Editor NEWWordpress theme, based on Sage starter theme
License: MIT License
Wordpress theme, based on Sage starter theme
License: MIT License
Thanks for your work on this project, super interesting.
One issue I've hit is referencing static assets such as fonts or images. I've tried:
./font-name.woff2
or ../fonts/font-name.woff2
@/fonts/font-name.woff2
But these always return paths relative to the root of the whole site i.e. site.test/fonts/font-name.woff2
or site.test/resources/fonts/font-name.woff2
.
The Vite docs say to use a public
directory but this gets wiped out by a build as Sage also expects a public
directory for compiled assets, so I can see the Vite out
directory is set to public
and Sage references public
for enqueuing the compiled CSS/JS files.
Any pointers here?
I may be missing something fundamental here, but I cannot get the dev server to work. Upon yarn dev
the page returns Cannot GET /
. Have you ever run into this?
If I first run yarn build
and access the site through a server provided by Local, I can see that it is working, but I can't figure out how to get a dev server up through vite. I tried setting HMR_ENTRYPOINT
to the address provided by Local (http://localhost:10008/) but that didn't do the trick.
Thank you for any guidance you can give.
Any chance this project could get another version/fork using JS and Tailwind instead of TS/sass? ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.