Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Releases: ronnidc/ui-engine

Version 1.1.1 renamed bundles

28 Aug 12:36
1c622b6
Compare
Choose a tag to compare
  • bundles for development and production now have the same name bundle.default.css, bundle.default.js
  • Added an example in the static directory for unbundled files that should not be part of the bundle.

Version 1.1.0 Theme feature for working wind several brands

06 May 09:00
Compare
Choose a tag to compare
  1. Add two entry files for each brand /src/entry.theme.brandname.js, /src/entry.theme.brandname.scss,
  2. Reference those entry files to /webpack.themes.jsin the section entry: { ... }
  3. Add theme files for each brand here:
/src/global/styles/themes/brandname
/src/static/icons/themes/brandname
/src/static/fonts/themes/brandname
  1. To switch between brands during development you can change the theme class in /src/global/styles/themes/theme.config.jsand it will change on the fly in your browser.
  2. To build theme bundles and assets to /dist/ run npm run build:themes

Version 1.0.6 fix basepath for exports to subdirectories in production

04 May 11:30
Compare
Choose a tag to compare

I HTML ved urler til billeder og ikoner skal der ikke være et forløbende slash
<img src="images/image.jpg" />

Det samme for et icon
<use xlink:href="icons/sprite.svg#logo">

For fonte og billeder i SCSS filer der bliver vi pt. nødt til at bruge en scss variabel $basepath som så skal justeres, når man laver en export, så den matcher PRODUCTION_BASE_PATH variablen i config.js.

Ulempen er pt. derfor, at man skal ændre variablen to steder. Jeg har lavet et eksempel hvor jeg har lagt $basepath i sin egen scss fil /global/styles/setup/_basepath.scss

Tip

Man kan evt. sætte BASE_PATHi config.js til at matche PRODUCTION_BASE_PATH og $basepath, så slipper man for at justere $basepath frem og tilbage, når man skal køre npm run generate.

Developer urlen vil så bare ligne production stien. Så i stedet for http://localhost:3000 vil den f.eks. hedde http://localhost:3000/poc/feature-opg-3210/

version 1.0.5 Accordion & google-maps-api

30 Apr 08:16
Compare
Choose a tag to compare
v1.0.5

packages: accordion & google-maps-api

version 1.0.4 change asset directory to /static/

29 Apr 22:32
Compare
Choose a tag to compare

Move fonts, icons, and images from /assets/ to /static/ for better webpack & Nuxt synergy

version 1.0.3a npm script dev:host

28 Apr 14:43
740fdf0
Compare
Choose a tag to compare
change npm script name

change dev:ip to dev:host

version 1.0.2 lock dependency versions

27 Apr 15:44
Compare
Choose a tag to compare
v1.0.2

Merge branch 'master' of https://github.com/ronnidc/ui-engine