Using ActiveRecord outside of rails
just the rake
- tags
- activerecord
- ruby
|
|
Then add to package.json
|
|
Now lets add react:
|
|
And create our files:
src/index.tsx
:
|
|
src/App.jsx
:
|
|
|
|
|
|
|
|
|
|
Then create the css:
|
|
public/index.html
:
|
|
|
|
|
|
build ├── _snowpack │ └── pkg │ ├── common │ │ └── index-ae389540.js │ ├── import-map.json │ ├── react-dom.js │ └── react.js ├── dist │ ├── App.js │ └── index.js ├── global.css └── index.html 4 directories, 8 files
|
|
168K build
Previously
Next