@pulpo/components
TypeScript icon, indicating that this package has built-in type declarations

2.0.27 • Public • Published

Built With Stencil

Quick development process

Start stencil serve in watch mode by running the following command on components folder

yarn start

This will start a local server running on port 3334 that will refresh the bundle on each change, now you need to got to app nuxt.config.ts file and replace the line

{ src: `components/components.esm.js?_=${Date.now()}`, type: 'module', rel: 'preload' }

with

{ src: 'http://localhost:3333/dist/components/components.esm.js, type: 'module', rel: 'preload' }

This will tell nuxt to include the components build from the stencil watch server, now each change you do will automatically rebuild and if you refresh the page on the application it will reload the changes.

Readme

Keywords

none

Package Sidebar

Install

npm i @pulpo/components

Weekly Downloads

0

Version

2.0.27

License

MIT

Unpacked Size

38.5 MB

Total Files

226

Last publish

Collaborators

  • acavalcante
  • onhate