Comments (5)
Hi @TiroZit
you should use vituum build
command, with that it should work correctly
from vituum.
I don't use vituum build
because it gives this error (). It seems to me that it does not find my config, although I specify vituum build -c config/vite.build.js
. How can this be fixed?
from vituum.
oh I see, this is currently not supported, config has to be in root of the project, vituum build
command doesn't accept any parameters
from vituum.
Let's say if I use vitrum build
, but still it doesn't solve my question. And what is the difference between vituum build
and vite build
from vituum.
vituum build
copies the files directly to dist
and not dist/views
and also supports file endings in views like .pug
or .json
You can try it here https://stackblitz.com/github/vituum/vituum/tree/main/examples/pug?file=package.json just run npm run build
to see what happens.
from vituum.
Related Issues (20)
- Change default folder HOT 9
- (!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling. HOT 3
- Vite alias not working HOT 1
- normalizeBasePath not working on windows HOT 4
- Implement vite with handlebars HOT 1
- Relative paths for assets in vite dev mode HOT 1
- It doesn't look like normalizeBasePath was applied to CSS HOT 6
- [Question] Contribution guidelines / questions HOT 2
- Setting `vite.root` breaks build HOT 1
- Add edge-js as template engine
- Feature to using plugin separately
- Order files in `pages` directory HOT 3
- Move `public/` inside `src/` HOT 1
- Missing `types` entry in `package.json` HOT 1
- Docs: Add guide for simple websites with navigation?
- [Enhancement] Nested folders in pages
- How likely would you be supporting smarty template engine?
- Vituum renames pug in html how to ban?
- Vite build not working if SCSS global variable is configured
- Automatic Importing SCSS files ( +.SCSS ) been resetting after restart server
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 vituum.