bkwld / cloak-boilerplate Goto Github PK
View Code? Open in Web Editor NEWModules that setup standard Cloak conventions.
Home Page: https://cloak-boilerplate.netlify.app/
License: MIT License
Modules that setup standard Cloak conventions.
Home Page: https://cloak-boilerplate.netlify.app/
License: MIT License
Like:
/builds/owlet-baby-care/owletcare.com/node_modules/ttf2woff2/jssrc/ttf2woff2.js:3 Invalid asm.js: Invalid member of stdlib
Try this: nfroidure/gulp-ttf2woff2#7 (comment)
lodash.memoize
or lodash/memoize
Closes: BKWLD/cloak#33
For creating a denylist of module names, for a use case like not including GTM on site that use tealium
Moving this logic out of create-cloak-app
For instance, we don't want /pages/products/_product/_variant.vue
to handle /products
. I think this is a sane default, I can't think of many instances where the detail component also handles the listing view.
We currently handle this with something like:
# nuxt.config.coffee
export default
# Customize the routes
router: extendRoutes: (routes) ->
# Make the slug required on these routes so the listing pages can
# be towers
detailRoutes = [ 'articles-article', 'recipes-recipe' ]
for route in routes
if route.name in detailRoutes
then route.path = route.path.slice(0, -1)
I think this functionality gets added to https://github.com/BKWLD/cloak-boilerplate/blob/master/modules/routing.js and it just removes the ?
at the end of all routes except _tower.vue so that dynamic parts are never optional.
# Set Node version (Netlify doesn't respect monorepo's .nvmrc)
[build.environment]
NODE_VERSION = '16'
Like the head meta array. I wanna make sure they are merged and not destroyed.
I think we add something to cloak-app/utils
to detect if in a monorepo or has library
~/../library/components
For instance, this one: https://sentry.io/organizations/bukwild/issues/3260622349/?project=6384567&query=is%3Aunresolved
It's like the build.quiet = false
setting isn't working.
Example: https://app.netlify.com/sites/cloak-boilerplate/deploys/625adead1869d40008bfd49a
Like to spin up a new codesandbox project from this is a template, for quicking demos.
Should speed up transpiration?
See:
These should be extendable from the project as well.
https://nuxtjs.org/docs/configuration-glossary/configuration-build/#extractcss
export default {
build: {
extractCSS: true,
optimization: {
splitChunks: {
cacheGroups: {
styles: {
name: 'styles',
test: /\.(css|vue)$/,
chunks: 'all',
enforce: true
}
}
}
}
}
}
For instance, this line...
never did anything because this line is always applied after
cloak-boilerplate/modules/generate.js
Lines 16 to 18 in 26316dd
To fix this project, I'm excluding boilerplate's generate module whole hog, which isn't ideal.
I'm thinking maybe I add this one to the coffeescript module.
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.