Code Monkey home page Code Monkey logo

kirby-vite-basic-kit's People

Contributors

arnoson avatar fynnzw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kirby-vite-basic-kit's Issues

Css assets path

Hi Arno,
Thanks for this nice work. I have notice a path issue that I haven't been able to solve.
After build, in the css file, the path to the font is replaced by /dist/assets/myfont.woff2 while the font file is copied in the same folder as the css file. The path should just be ./myfont.woff2.

Help: How to deal with graphic assets

Hello! Thank you for that great plugin. Superhappy with it, just works perfectly.

I am not sure how to deal with assets though. As long as they're called from css, js files – no problem. But I do have a few svgs that get included in my template (logo for header, etc.).

For now I added a public/assets/ folder manually. But this feels a bit inconsistent...

How to do it properly?

Thank you,
Hans

npm run preview

Hi.

npm run preview - didn't work out of the box.

GET http://localhost:5173/@vite/client net::ERR_CONNECTION_REFUSED
GET http://localhost:5173/index.js net::ERR_CONNECTION_REFUSED

I think there are some config part's missing for that.
Maybe you have the best view over your files and can add that - or i will check vite and try to make a PR when I found it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.