added first modelviewer example
This commit is contained in:
parent
ed7ab76ad9
commit
1326d54083
13 changed files with 1406 additions and 17 deletions
|
|
@ -1,10 +1,19 @@
|
|||
const { DateTime } = require("luxon")
|
||||
|
||||
module.exports = function (eleventyConfig) {
|
||||
//eleventyConfig.addPassthroughCopy("css")
|
||||
eleventyConfig.addPassthroughCopy("src/**/*.png")
|
||||
eleventyConfig.addPassthroughCopy("src/**/*.jpg")
|
||||
eleventyConfig.addPassthroughCopy("src/css/modelviewer.css")
|
||||
|
||||
eleventyConfig.addPassthroughCopy("src/**/*.glb")
|
||||
eleventyConfig.addPassthroughCopy({ "src/_assets/": "assets" })
|
||||
|
||||
eleventyConfig.addFilter("readableDate", (dateObj) => {
|
||||
return DateTime.fromJSDate(dateObj, {
|
||||
zone: "Europe/Berlin"
|
||||
}).setLocale("de").toLocaleString(DateTime.DATE_FULL)
|
||||
})
|
||||
return {
|
||||
passthroughFileCopy: true,
|
||||
dir: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue